summaryrefslogtreecommitdiff
path: root/items/item_effects.asm
diff options
context:
space:
mode:
Diffstat (limited to 'items/item_effects.asm')
-rw-r--r--items/item_effects.asm19
1 files changed, 10 insertions, 9 deletions
diff --git a/items/item_effects.asm b/items/item_effects.asm
index 6ad0d8947..72bfcf617 100644
--- a/items/item_effects.asm
+++ b/items/item_effects.asm
@@ -705,7 +705,7 @@ endr
ld a, [BattleType]
cp BATTLETYPE_TUTORIAL
ret z
- cp 2
+ cp BATTLETYPE_DEBUG
ret z
cp BATTLETYPE_CONTEST
jr z, .used_park_ball
@@ -1880,7 +1880,7 @@ Functionf21c: ; f21c (3:721c)
callba WritePartyMenuTilemap
callba PrintPartyMenuText
call WaitBGMap
- call Function32f9
+ call SetPalettes
call DelayFrame
callba PartyMenuSelect
ret
@@ -1897,7 +1897,7 @@ Functionf24a: ; f24a (3:724a)
callba WritePartyMenuTilemap
callba Function50566
call WaitBGMap
- call Function32f9
+ call SetPalettes
call DelayFrame
pop bc
pop de
@@ -2254,18 +2254,19 @@ Repel: ; f46a
; f46c
Function_0xf46c: ; f46c
- ld a, [wdca1]
+ ld a, [RepelStepsLeft]
and a
- ld hl, UnknownText_0xf47d
+ ld hl, TextJump_RepelUsedEarlierIsStillInEffect
jp nz, PrintText
+
ld a, b
- ld [wdca1], a
+ ld [RepelStepsLeft], a
jp Functionf789
-; f47d
-UnknownText_0xf47d: ; 0xf47d
+
+TextJump_RepelUsedEarlierIsStillInEffect: ; 0xf47d
; The REPEL used earlier is still in effect.
- text_jump UnknownText_0x1c5bcd
+ text_jump Text_RepelUsedEarlierIsStillInEffect
db "@"
; 0xf482