diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2018-10-16 21:54:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-16 21:54:14 -0500 |
commit | f67bbbdaaa905833f1c2a315624128aafef9a4cb (patch) | |
tree | 1dbafe48cfdb46142cd3df7d9fa50b3ffd4ec961 /src/scrcmd.c | |
parent | 832947f329b71a9a1d4b88f8b24ef85b540b4fc5 (diff) | |
parent | e75f0b4f80670bd3b6a28257f10770911869ea08 (diff) |
Merge pull request #364 from Diegoisawesome/master
Port/decompile field_control_avatar
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r-- | src/scrcmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c index acaf78576..fa3e21996 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -52,7 +52,7 @@ typedef u16 (*SpecialFunc)(void); typedef void (*NativeFunc)(void); -extern u32 gUnknown_020375C0; +extern const u8 *gUnknown_020375C0; static EWRAM_DATA u32 gUnknown_020375C4 = 0; static EWRAM_DATA u16 sPauseCounter = 0; @@ -284,7 +284,7 @@ bool8 ScrCmd_callstd_if(struct ScriptContext *ctx) bool8 ScrCmd_gotoram(struct ScriptContext *ctx) { - ScriptJump(ctx, (const u8 *)gUnknown_020375C0); + ScriptJump(ctx, gUnknown_020375C0); return FALSE; } @@ -2223,7 +2223,7 @@ bool8 ScrCmd_cmdCF(struct ScriptContext *ctx) if (v1) { - ((u8*)gUnknown_020375C0) = ctx->scriptPtr; + gUnknown_020375C0 = ctx->scriptPtr; ScriptJump(ctx, v1); } return FALSE; |