Identify more bit flags (#1153)
This commit is contained in:
@@ -64,10 +64,11 @@ AIChooseMove:
|
||||
.ApplyLayers:
|
||||
ld hl, TrainerClassAttributes + TRNATTR_AI_MOVE_WEIGHTS
|
||||
|
||||
; 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
|
||||
; If we have a battle in Battle Tower, just load the attributes of the first
|
||||
; trainer class in TrainerClassAttributes (Falkner), so we have always the
|
||||
; same AI, regardless of the loaded class of trainer.
|
||||
ld a, [wInBattleTowerBattle]
|
||||
bit 0, a
|
||||
bit IN_BATTLE_TOWER_BATTLE_F, a
|
||||
jr nz, .battle_tower_skip
|
||||
|
||||
ld a, [wTrainerClass]
|
||||
|
@@ -178,7 +178,7 @@ AI_Redundant:
|
||||
.FutureSight:
|
||||
; BUG: AI does not discourage Future Sight when it's already been used (see docs/bugs_and_glitches.md)
|
||||
ld a, [wEnemyScreens]
|
||||
bit 5, a
|
||||
bit SCREENS_UNUSED, a
|
||||
ret
|
||||
|
||||
.Heal:
|
||||
|
Reference in New Issue
Block a user