summaryrefslogtreecommitdiff
path: root/src/battle_controllers.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-11-26 13:26:58 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2017-11-26 13:26:58 +0100
commit9886eeb5d8b0a19e31537fbc3e1245f20577d513 (patch)
tree2159af378a65ef3972554274366f1d070cdebbaf /src/battle_controllers.c
parentcc572f7c00b7a07161b5298868bcb495b7c87b61 (diff)
fix, rename, label battle labels and battlescripts
Diffstat (limited to 'src/battle_controllers.c')
-rw-r--r--src/battle_controllers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/battle_controllers.c b/src/battle_controllers.c
index ed48ec5d9..45ed8a73a 100644
--- a/src/battle_controllers.c
+++ b/src/battle_controllers.c
@@ -38,7 +38,7 @@ extern u8 gEffectBank;
extern u16 gBattleWeather;
extern struct BattlePokemon gBattleMons[BATTLE_BANKS_COUNT];
extern u16 gCurrentMove;
-extern u16 gLastUsedMove;
+extern u16 gOriginallyUsedMove;
extern u16 gLastUsedItem;
extern u8 gBattleOutcome;
extern u8 gLastUsedAbility;
@@ -1120,7 +1120,7 @@ void EmitPrintString(u8 bufferId, u16 stringID)
stringInfo = (struct StringInfoBattle*)(&gBattleBuffersTransferData[4]);
stringInfo->currentMove = gCurrentMove;
- stringInfo->lastMove = gLastUsedMove;
+ stringInfo->lastMove = gOriginallyUsedMove;
stringInfo->lastItem = gLastUsedItem;
stringInfo->lastAbility = gLastUsedAbility;
stringInfo->scrActive = gBattleScripting.bank;
@@ -1152,7 +1152,7 @@ void EmitPrintSelectionString(u8 bufferId, u16 stringID)
stringInfo = (struct StringInfoBattle*)(&gBattleBuffersTransferData[4]);
stringInfo->currentMove = gCurrentMove;
- stringInfo->lastMove = gLastUsedMove;
+ stringInfo->lastMove = gOriginallyUsedMove;
stringInfo->lastItem = gLastUsedItem;
stringInfo->lastAbility = gLastUsedAbility;
stringInfo->scrActive = gBattleScripting.bank;