Meaningful $ff values

This commit is contained in:
Rangi
2018-02-25 19:50:48 -05:00
parent 60add76ee7
commit be28a0ff4e

View File

@@ -3324,7 +3324,7 @@ AddBattleParticipant: ; 3d581
; 3d599 ; 3d599
FindPkmnInOTPartyToSwitchIntoBattle: ; 3d599 FindPkmnInOTPartyToSwitchIntoBattle: ; 3d599
ld b, $ff ld b, -1
ld a, $1 ld a, $1
ld [wBuffer1], a ld [wBuffer1], a
ld [wBuffer2], a ld [wBuffer2], a
@@ -3468,7 +3468,7 @@ ScoreMonTypeMatchups: ; 3d672
ld a, [wBuffer1] ld a, [wBuffer1]
and a and a
jr z, .okay2 jr z, .okay2
ld b, $ff ld b, -1
ld c, a ld c, a
.loop3 .loop3
inc b inc b
@@ -3477,7 +3477,7 @@ ScoreMonTypeMatchups: ; 3d672
jr .quit jr .quit
.okay2 .okay2
ld b, $ff ld b, -1
ld a, [wBuffer2] ld a, [wBuffer2]
ld c, a ld c, a
.loop4 .loop4
@@ -8849,13 +8849,13 @@ BattleEnd_HandleRoamMons: ; 3f998
.caught_or_defeated_roam_mon .caught_or_defeated_roam_mon
call GetRoamMonHP call GetRoamMonHP
ld [hl], $0 ld [hl], 0
call GetRoamMonMapGroup call GetRoamMonMapGroup
ld [hl], $ff ld [hl], GROUP_N_A
call GetRoamMonMapNumber call GetRoamMonMapNumber
ld [hl], $ff ld [hl], MAP_N_A
call GetRoamMonSpecies call GetRoamMonSpecies
ld [hl], $0 ld [hl], 0
ret ret
.not_roaming .not_roaming