summaryrefslogtreecommitdiff
path: root/engine/events
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-04-04 17:46:36 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-04-06 12:41:07 -0400
commit3144b54bd1dcc47ea339fcd2bd215ec96fc38c4a (patch)
tree01af6a137f2d6f51df3205e2ddce2e95ea594b74 /engine/events
parent95e48ef992a6c89a147543ba0eed8fe671cadcac (diff)
Enable rgbds warnings and remove CFLAGS=-O2 (default is now -O3)
Diffstat (limited to 'engine/events')
-rw-r--r--engine/events/overworld.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/events/overworld.asm b/engine/events/overworld.asm
index 1009177ff..d221b7445 100644
--- a/engine/events/overworld.asm
+++ b/engine/events/overworld.asm
@@ -750,13 +750,13 @@ Script_AskWaterfall:
EscapeRopeFunction:
call FieldMoveJumptableReset
ld a, $1
- jr dig_incave
+ jr EscapeRopeOrDig
DigFunction:
call FieldMoveJumptableReset
ld a, $2
-dig_incave
+EscapeRopeOrDig:
ld [wBuffer2], a
.loop
ld hl, .DigTable