diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-07-23 00:25:53 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-07-23 00:25:53 -0400 |
commit | 4f0c9cecf9a4c9dec50e2a5fce8392c2217068e0 (patch) | |
tree | 081ebd7f6ebbb71774df8dc151b68901c9bd6d23 /home/queue_script.asm | |
parent | a1806d6e816369ad5452c4a008d7cd5802f1ec45 (diff) |
StringCmp → CompareBytes; CompareLong → CompareBytesLong
hStringCmpString[1/2] → h[EnemyMon/PartyMon1]Speed
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 |