blob: 27dafa3ffa712fd9063440ee4822dad1bf7a804a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
QueueScript::
; Push pointer hl in the current bank to wQueuedScriptBank.
ldh 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
|