summaryrefslogtreecommitdiff
path: root/home/queue_script.asm
blob: 40a971dc98d9aecade9c071c23ea8639585ce4a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
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