diff options
author | entrpntr <12521136+entrpntr@users.noreply.github.com> | 2020-05-15 12:57:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 12:57:29 -0400 |
commit | 88d7e9a34a8b610b358cec1ccc6660634ca9ce80 (patch) | |
tree | 709f2f908d9e1c2f7a882d628ff09b80de3c9e8b /home/queue_script.asm | |
parent | a7e3a999ff21ecac0bfbe7f091f9ff901075a323 (diff) | |
parent | 6231351906960364a5ad2f34efefd809cceb0eb8 (diff) |
Merge pull request #19 from libjet/home-cleanup
Home and HRAM cleanup
Diffstat (limited to 'home/queue_script.asm')
-rwxr-xr-x | home/queue_script.asm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/home/queue_script.asm b/home/queue_script.asm new file mode 100755 index 00000000..23f80d24 --- /dev/null +++ b/home/queue_script.asm @@ -0,0 +1,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
\ No newline at end of file |