You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Fix comment/style issues caused from w-izing.
This commit is contained in:
@@ -21,7 +21,7 @@ AI_SwitchOrTryItem: ; 38000
|
||||
jr nz, DontSwitch
|
||||
|
||||
ld hl, TrainerClassAttributes + TRNATTR_AI_ITEM_SWITCH
|
||||
ld a, [wInBattleTowerBattle] ; Load always the first wTrainerClass for BattleTower-Trainers
|
||||
ld a, [wInBattleTowerBattle] ; always load the first trainer class in wTrainerClass for BattleTower-Trainers
|
||||
and a
|
||||
jr nz, .ok
|
||||
|
||||
|
@@ -66,7 +66,7 @@ AIChooseMove: ; 440ce
|
||||
.ApplyLayers:
|
||||
ld hl, TrainerClassAttributes + TRNATTR_AI_MOVE_WEIGHTS
|
||||
|
||||
; If we have a battle in BattleTower just load the Attributes of the first wTrainerClass (Falkner)
|
||||
; If we have a battle in BattleTower just load the Attributes of the first trainer class in wTrainerClass (Falkner)
|
||||
; so we have always the same AI, regardless of the loaded class of trainer
|
||||
ld a, [wInBattleTowerBattle]
|
||||
bit 0, a
|
||||
|
@@ -6133,7 +6133,7 @@ LoadEnemyMon: ; 3e8eb
|
||||
; Notes:
|
||||
; BattleRandom is used to ensure sync between Game Boys
|
||||
|
||||
; Clear the whole wEnemyMon struct
|
||||
; Clear the whole enemy mon struct (wEnemyMon)
|
||||
xor a
|
||||
ld hl, wEnemyMonSpecies
|
||||
ld bc, wEnemyMonEnd - wEnemyMon
|
||||
@@ -6989,7 +6989,8 @@ ApplyStatLevelMultiplier: ; 3ecb7
|
||||
; 3ed45
|
||||
|
||||
BadgeStatBoosts: ; 3ed45
|
||||
; Raise wBattleMon stats depending on which badges have been obtained.
|
||||
; Raise the stats of the battle mon in wBattleMon
|
||||
; depending on which badges have been obtained.
|
||||
|
||||
; Every other badge boosts a stat, starting from the first.
|
||||
|
||||
|
Reference in New Issue
Block a user