diff options
author | mid-kid <esteve.varela@gmail.com> | 2018-07-27 11:21:31 +0200 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2018-07-27 11:24:59 +0200 |
commit | 9aa6b55d7b1fdb97426305c0ed07fc14012f1293 (patch) | |
tree | b1123bc6dc8d5f29577ad7518f49042f210571d2 /home/queue_script.asm | |
parent | a91b59ab5dd2468e3f48079d45f90a9625a29fe3 (diff) | |
parent | 748d4249805c19399b3c72c0f60d0f1a6ffe43ad (diff) |
Merge branch 'master' of https://github.com/pret/pokecrystal
Diffstat (limited to 'home/queue_script.asm')
-rw-r--r-- | 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 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 |