Document slot machine more (unabridged)

This commit is contained in:
Abaresk 2022-02-02 03:30:50 +00:00 committed by hondew
parent f494238a9d
commit c39b0ff6d7
2 changed files with 1537 additions and 979 deletions

View File

@ -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;
}

File diff suppressed because it is too large Load Diff