StringCmp → CompareBytes; CompareLong → CompareBytesLong
hStringCmpString[1/2] → h[EnemyMon/PartyMon1]Speed
This commit is contained in:
12
home/queue_script.asm
Normal file
12
home/queue_script.asm
Normal file
@@ -0,0 +1,12 @@
|
||||
QueueScript::
|
||||
; Push pointer hl in the current bank to wQueuedScriptBank.
|
||||
ld a, [hROMBank]
|
||||
|
||||
FarQueueScript::
|
||||
; Push pointer a:hl to wQueuedScriptBank.
|
||||
ld [wQueuedScriptBank], a
|
||||
ld a, l
|
||||
ld [wQueuedScriptAddr], a
|
||||
ld a, h
|
||||
ld [wQueuedScriptAddr + 1], a
|
||||
ret
|
Reference in New Issue
Block a user