Merge pull request #1633 from abaresk/slot-cleanup
Clean up and document Slot Machines more
This commit is contained in:
commit
eca5233abe
2 changed files with 1618 additions and 1073 deletions
|
@ -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;
|
||||
}
|
||||
|
|
2687
src/slot_machine.c
2687
src/slot_machine.c
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue