diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2022-02-20 17:59:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-20 17:59:14 -0500 |
commit | eca5233abe83a074ce97f9e47b30eb0c0f430a9e (patch) | |
tree | 8a69cc5ff827303bcd50243ecf6f337dc5b652b2 /src/scrcmd.c | |
parent | 8c64ba335cfa442efd377b024326909c8d5f76d0 (diff) | |
parent | 08bf2587ce99a6731c60fe77fddb53fe748db193 (diff) |
Merge pull request #1633 from abaresk/slot-cleanup
Clean up and document Slot Machines more
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; } |