Bring build errors down

This brings build errors down to 24 for zeta to deal with
This commit is contained in:
Llinos Evans 2024-12-28 23:41:40 +00:00
parent e59cc2b329
commit ef27eaf9ec
3 changed files with 9 additions and 9 deletions

View file

@ -1677,7 +1677,7 @@ AI_Smart_Surf:
AI_Smart_Whirlpool:
; Greatly encourage this move if the player is underwater and the enemy is faster.
ld a, [wLastPlayerCounterMove]
cp DIVE
cp WATER_SPORT
ret nz
ld a, [wPlayerSubStatus4]
bit SUBSTATUS_UNDERWATER, a

View file

@ -2124,14 +2124,14 @@ CantWaterSportText:
db "@"
CheckMapCanWaterSport:
ld a, [wWaterSportMapGroup]
ld a, [wDiveMapGroup]
and a
jr z, .failed
ld a, [wWaterSportMapNumber]
ld a, [wDiveMapNumber]
and a
jr z, .failed
ld a, [wPlayerStandingTile]
call CheckWaterSportTile
ld a, [wPlayerTile]
call CheckDiveTile
jr nz, .failed
xor a
ret
@ -2146,10 +2146,10 @@ TryWaterSportOW::
ld de, ENGINE_CASCADEBADGE
call CheckEngineFlag
jr c, .cant
ld d, DIVE
ld d, WATER_SPORT
call CheckPartyMove
jr c, .cant
call GetPartyNick
call GetPartyNickname
ld a, BANK(AskWaterSportScript)
ld hl, AskWaterSportScript
call CallScript