summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2018-01-05 11:05:01 +0100
committerxCrystal <rgr.crystal@gmail.com>2018-01-05 11:05:01 +0100
commite9e8bf6eb14020d4a88a7cd4bca8539a2b45803e (patch)
tree63a602829016ebf9e96fb1ded325171680026a68 /engine/battle/core.asm
parentd68f96179358d8ec3099c6cfc9709ea068b5fa69 (diff)
Predef_Flag -> Predef_FlagAction
Diffstat (limited to 'engine/battle/core.asm')
-rw-r--r--engine/battle/core.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index b5ca19562..ff415bc75 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -2760,7 +2760,7 @@ PlayerMonFaintHappinessMod: ; 3d1aa
ld c, a
ld hl, wBattleParticipantsNotFainted
ld b, RESET_FLAG
- predef Predef_Flag
+ predef Predef_FlagAction
ld hl, EnemySubStatus3
res SUBSTATUS_IN_LOOP, [hl]
xor a
@@ -3357,10 +3357,10 @@ AddBattleParticipant: ; 3d581
ld hl, wBattleParticipantsNotFainted
ld b, SET_FLAG
push bc
- predef Predef_Flag
+ predef Predef_FlagAction
pop bc
ld hl, wBattleParticipantsIncludingFainted
- predef_jump Predef_Flag
+ predef_jump Predef_FlagAction
; 3d599
FindPkmnInOTPartyToSwitchIntoBattle: ; 3d599
@@ -4350,7 +4350,7 @@ PursuitSwitch: ; 3dc5b
ld c, a
ld hl, wBattleParticipantsNotFainted
ld b, RESET_FLAG
- predef Predef_Flag
+ predef Predef_FlagAction
call PlayerMonFaintedAnimation
ld hl, BattleText_PkmnFainted
jr .done_fainted
@@ -6631,7 +6631,7 @@ LoadEnemyMon: ; 3e8eb
ld c, a
ld b, SET_FLAG
ld hl, PokedexSeen
- predef Predef_Flag
+ predef Predef_FlagAction
ld hl, EnemyMonStats
ld de, EnemyStats
@@ -7313,7 +7313,7 @@ GiveExperiencePoints: ; 3ee3b
ld c, a
ld b, CHECK_FLAG
ld d, $0
- predef Predef_Flag
+ predef Predef_FlagAction
ld a, c
and a
pop bc
@@ -7642,7 +7642,7 @@ GiveExperiencePoints: ; 3ee3b
ld a, [CurPartyMon]
ld c, a
ld b, SET_FLAG
- predef Predef_Flag
+ predef Predef_FlagAction
pop af
ld [CurPartyLevel], a