summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authorAbaresk <abaresk01@gmail.com>2022-02-02 03:30:50 +0000
committerhondew <pokehondew@gmail.com>2022-02-20 10:09:49 -0500
commitc39b0ff6d7e58920ccc91b42e82409e683cb7665 (patch)
treea223a465090b3779551c3b0d7bd7cb1eced79f1b /src/scrcmd.c
parentf494238a9d1f8f486891845a43983e187dbeadf0 (diff)
Document slot machine more (unabridged)
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r--src/scrcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c
index 44bd14c28..418bf5877 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -1916,9 +1916,9 @@ bool8 ScrCmd_pokemartdecoration2(struct ScriptContext *ctx)
bool8 ScrCmd_playslotmachine(struct ScriptContext *ctx)
{
- u8 slotMachineIndex = VarGet(ScriptReadHalfword(ctx));
+ u8 machineId = VarGet(ScriptReadHalfword(ctx));
- PlaySlotMachine(slotMachineIndex, CB2_ReturnToFieldContinueScriptPlayMapMusic);
+ PlaySlotMachine(machineId, CB2_ReturnToFieldContinueScriptPlayMapMusic);
ScriptContext1_Stop();
return TRUE;
}