diff options
Diffstat (limited to 'engine/overworld')
-rw-r--r-- | engine/overworld/map_objects.asm | 2 | ||||
-rw-r--r-- | engine/overworld/scripting.asm | 6 | ||||
-rw-r--r-- | engine/overworld/warp_connection.asm | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/engine/overworld/map_objects.asm b/engine/overworld/map_objects.asm index 26152625d..cf532fea6 100644 --- a/engine/overworld/map_objects.asm +++ b/engine/overworld/map_objects.asm @@ -1836,7 +1836,7 @@ Function5000: ; unscripted? ret GetMovementByte: - ld hl, wMovementDataPointer + ld hl, wMovementDataBank call _GetMovementByte ret diff --git a/engine/overworld/scripting.asm b/engine/overworld/scripting.asm index 4f6c6568e..ee6e15b51 100644 --- a/engine/overworld/scripting.asm +++ b/engine/overworld/scripting.asm @@ -137,7 +137,7 @@ ScriptCommandTable: dw Script_opentext ; 47 dw Script_refreshscreen ; 48 dw Script_closetext ; 49 - dw Script_loadbytec2cf ; 4a + dw Script_writeunusedbytebuffer ; 4a dw Script_farwritetext ; 4b dw Script_writetext ; 4c dw Script_repeattext ; 4d @@ -2636,12 +2636,12 @@ Script_refreshscreen: call GetScriptByte ret -Script_loadbytec2cf: +Script_writeunusedbytebuffer: ; script command 0x4a ; parameters: byte call GetScriptByte - ld [wc2cf], a + ld [wUnusedScriptByteBuffer], a ret db closetext_command ; unused diff --git a/engine/overworld/warp_connection.asm b/engine/overworld/warp_connection.asm index 2630ad913..2b36d1e42 100644 --- a/engine/overworld/warp_connection.asm +++ b/engine/overworld/warp_connection.asm @@ -1,6 +1,6 @@ HandleNewMap: - call ClearUnusedC7E8 + call ClearUnusedMapBuffer call ResetMapBufferEventFlags call ResetFlashIfOutOfCave call GetCurrentMapSceneID |