You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Fewer uses of 'Thing2 - Thing1' for sizeof(Thing)
This commit is contained in:
@@ -104,7 +104,7 @@ Function_LoadRandomBattleTowerMon:
|
||||
ld a, [wBTChoiceOfLvlGroup]
|
||||
dec a
|
||||
ld hl, BattleTowerMons
|
||||
ld bc, BattleTowerMons2 - BattleTowerMons1
|
||||
ld bc, BattleTowerMons2 - BattleTowerMons1 ; size of one level group
|
||||
call AddNTimes
|
||||
|
||||
ld a, [hRandomAdd]
|
||||
|
||||
@@ -39,7 +39,7 @@ _GiveOddEgg:
|
||||
.done
|
||||
|
||||
ld hl, OddEggs
|
||||
ld a, OddEgg2 - OddEgg1
|
||||
ld a, OddEgg1End - OddEgg1
|
||||
call AddNTimes
|
||||
|
||||
ld de, wOddEggSpecies
|
||||
|
||||
Reference in New Issue
Block a user