diff options
author | Abaresk <abaresk01@gmail.com> | 2022-02-02 03:30:50 +0000 |
---|---|---|
committer | hondew <pokehondew@gmail.com> | 2022-02-20 10:09:49 -0500 |
commit | c39b0ff6d7e58920ccc91b42e82409e683cb7665 (patch) | |
tree | a223a465090b3779551c3b0d7bd7cb1eced79f1b /src/scrcmd.c | |
parent | f494238a9d1f8f486891845a43983e187dbeadf0 (diff) |
Document slot machine more (unabridged)
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r-- | src/scrcmd.c | 4 |
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; } |