summaryrefslogtreecommitdiff
path: root/src/home/script.asm
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2021-09-26 23:07:03 -0500
committerGitHub <noreply@github.com>2021-09-26 23:07:03 -0500
commit40dc6651c4f56c067e4237a46ea38a5c8f6f55b4 (patch)
treebdf4be22a2176e19aeffba4cbadd736d767381f8 /src/home/script.asm
parentdf67aac83b466dadf5f74c881bf84dd9ef19bdfc (diff)
parent48f83527c769441b6c123f3382d90e2e962ef9a0 (diff)
Merge pull request #111 from ElectroDeoxys/master
Split bank1 & bank2
Diffstat (limited to 'src/home/script.asm')
-rw-r--r--src/home/script.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/home/script.asm b/src/home/script.asm
index 229eb65..aee96ff 100644
--- a/src/home/script.asm
+++ b/src/home/script.asm
@@ -158,11 +158,11 @@ Func_3b31:
ld a, BANK(Func_1cb18)
call BankswitchROM
call Func_1cb18
- jr c, .asm_3b45
+ jr c, .skip_clear_frame_func
xor a
- ld [wDoFrameFunction], a
+ ld [wDoFrameFunction + 0], a
ld [wDoFrameFunction + 1], a
-.asm_3b45
+.skip_clear_frame_func
call ZeroObjectPositions
ld a, 1
ld [wVBlankOAMCopyToggle], a