From 4f0c9cecf9a4c9dec50e2a5fce8392c2217068e0 Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 23 Jul 2018 00:25:53 -0400 Subject: =?UTF-8?q?StringCmp=20=E2=86=92=20CompareBytes;=20CompareLong=20?= =?UTF-8?q?=E2=86=92=20CompareBytesLong=20hStringCmpString[1/2]=20?= =?UTF-8?q?=E2=86=92=20h[EnemyMon/PartyMon1]Speed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/queue_script.asm | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 home/queue_script.asm (limited to 'home/queue_script.asm') diff --git a/home/queue_script.asm b/home/queue_script.asm new file mode 100644 index 000000000..40a971dc9 --- /dev/null +++ b/home/queue_script.asm @@ -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 -- cgit v1.2.3