You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Resolve #428: Use HIGH(X) and LOW(X) instead of X / $100 and X % $100 or X >> 8 and X & $ff
This commit is contained in:
@@ -587,10 +587,10 @@ PlacePartyMonMobileBattleSelection: ; 50307
|
||||
|
||||
|
||||
PartyMenuCheckEgg: ; 50389
|
||||
ld a, PartySpecies % $100
|
||||
ld a, LOW(PartySpecies)
|
||||
add b
|
||||
ld e, a
|
||||
ld a, PartySpecies / $100
|
||||
ld a, HIGH(PartySpecies)
|
||||
adc 0
|
||||
ld d, a
|
||||
ld a, [de]
|
||||
|
||||
Reference in New Issue
Block a user