Make reviewed fixes; standardize on " + "

This commit is contained in:
Rangi 2018-07-29 01:40:23 -04:00
parent 8498394701
commit c9cb67141b
9 changed files with 17 additions and 17 deletions

View File

@ -5989,7 +5989,7 @@ LoadEnemyMon:
; Used for Ho-Oh, Lugia and Snorlax encounters
ld a, [wBattleType]
cp BATTLETYPE_FORCEITEM
ld a, [wBaseItems]
ld a, [wBaseItem1]
jr z, .UpdateItem
; Failing that, it's all up to chance
@ -6007,9 +6007,9 @@ LoadEnemyMon:
; From there, an 8% chance for Item2
call BattleRandom
cp 8 percent ; 8% of 25% = 2% Item2
ld a, [wBaseItems]
ld a, [wBaseItem1]
jr nc, .UpdateItem
ld a, [wBaseItems+1]
ld a, [wBaseItem2]
.UpdateItem:
ld [wEnemyMonItem], a

View File

@ -983,7 +983,7 @@ PlayerEventScriptPointers:
dba Script_OverworldWhiteout ; PLAYEREVENT_WHITEOUT
dba HatchEggScript ; PLAYEREVENT_HATCH
dba ChangeDirectionScript ; PLAYEREVENT_JOYCHANGEFACING
dba Invalid_0x96c2d ; 10
dba Invalid_0x96c2d ; (NUM_PLAYER_EVENTS)
Invalid_0x96c2d:
end