Identify more bit flags (#1153)

This commit is contained in:
Sylvie
2024-11-29 19:29:30 -05:00
committed by GitHub
parent 8894e29da2
commit 644bd42fb0
78 changed files with 539 additions and 472 deletions

View File

@@ -1,6 +1,6 @@
ReadTrainerParty:
ld a, [wInBattleTowerBattle]
bit 0, a
bit IN_BATTLE_TOWER_BATTLE_F, a
ret nz
ld a, [wLinkMode]
@@ -323,7 +323,7 @@ ComputeTrainerReward:
Battle_GetTrainerName::
ld a, [wInBattleTowerBattle]
bit 0, a
bit IN_BATTLE_TOWER_BATTLE_F, a
ld hl, wOTPlayerName
jp nz, CopyTrainerName