summaryrefslogtreecommitdiff
path: root/scripts/route2gate.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/route2gate.asm')
-rwxr-xr-xscripts/route2gate.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/route2gate.asm b/scripts/route2gate.asm
index e8d02321..49c28e02 100755
--- a/scripts/route2gate.asm
+++ b/scripts/route2gate.asm
@@ -7,8 +7,7 @@ Route2GateTextPointers: ; 5d5d7 (17:55d7)
Route2GateText1: ; 5d5db (17:55db)
TX_ASM
- ld a, [wd7c2]
- bit 0, a
+ CheckEvent EVENT_3D8
jr nz, .asm_5d60d
ld a, 10 ; pokemon needed
ld [$ffdb], a
@@ -24,8 +23,7 @@ Route2GateText1: ; 5d5db (17:55db)
ld a, [$ffdb]
cp $1
jr nz, .asm_5d613
- ld hl, wd7c2
- set 0, [hl]
+ SetEvent EVENT_3D8
.asm_5d60d
ld hl, Route2GateText_5d616
call PrintText