diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-29 15:54:20 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-29 15:54:20 -0400 |
commit | 0882b456934e87b3b5fa1415ca6ab34087c68a4a (patch) | |
tree | faeb206b7d5bc7445ed2cf3c6bbd03cb7996da05 /src/battle_script_commands.c | |
parent | 0dccfbbd447e6c3764c123a048e75e3085e58771 (diff) |
Clean up some ewram refs inside gBattleStruct
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r-- | src/battle_script_commands.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index d1143d764..a98a0eae0 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -5181,7 +5181,7 @@ static void atk1E_jumpifability(void) gLastUsedAbility = ability; gBattlescriptCurrInstr = jumpPtr; RecordAbilityBattle(battlerId -1, gLastUsedAbility); - ewram160F8 = battlerId - 1; + gBattleStruct->unk160F8 = battlerId - 1; } else gBattlescriptCurrInstr += 7; @@ -5194,7 +5194,7 @@ static void atk1E_jumpifability(void) gLastUsedAbility = ability; gBattlescriptCurrInstr = jumpPtr; RecordAbilityBattle(battlerId - 1, gLastUsedAbility); - ewram160F8 = battlerId - 1; + gBattleStruct->unk160F8 = battlerId - 1; } else gBattlescriptCurrInstr += 7; @@ -5207,7 +5207,7 @@ static void atk1E_jumpifability(void) gLastUsedAbility = ability; gBattlescriptCurrInstr = jumpPtr; RecordAbilityBattle(battlerId, gLastUsedAbility); - ewram160F8 = battlerId; + gBattleStruct->unk160F8 = battlerId; } else gBattlescriptCurrInstr += 7; |