diff options
author | MCboy <atasro2@gmail.com> | 2018-08-12 23:26:00 +0430 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-12 23:26:00 +0430 |
commit | 1bc93c5a66ebc7ec790e3cb17f246aee75dcc73c (patch) | |
tree | f6edf1981a206483d1691e5ac388055abfc64424 /src/scrcmd.c | |
parent | 9e9ec8dc963c4786ac3af19102ebe690cb7785d5 (diff) | |
parent | 21060091d109a6ebc4d1d76b8487878bb91cd5e1 (diff) |
Merge branch 'master' into player_field_avatar
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 57ae9cffa..01d04704a 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -1515,7 +1515,7 @@ bool8 ScrCmd_braillemessage(struct ScriptContext *ctx) xText = (xWindow - xText - 1) * 8 + 3; yText = (yText - yWindow - 1) * 8; - winTemplate = sub_8198A50(0, xWindow, yWindow + 1, width, height, 0xF, 0x1); + winTemplate = CreateWindowTemplate(0, xWindow, yWindow + 1, width, height, 0xF, 0x1); gUnknown_03000F30 = AddWindow(&winTemplate); LoadUserWindowBorderGfx(gUnknown_03000F30, 0x214, 0xE0); NewMenuHelpers_DrawStdWindowFrame(gUnknown_03000F30, 0); @@ -1909,7 +1909,7 @@ bool8 ScrCmd_playslotmachine(struct ScriptContext *ctx) { u8 slotMachineIndex = VarGet(ScriptReadHalfword(ctx)); - PlaySlotMachine(slotMachineIndex, CB2_ReturnToFieldContinueScript); + PlaySlotMachine(slotMachineIndex, CB2_ReturnToFieldContinueScriptPlayMapMusic); ScriptContext1_Stop(); return TRUE; } |