summaryrefslogtreecommitdiff
path: root/arm9/src/script.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-05-26 09:42:03 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-05-26 09:42:03 -0400
commit8c8a5a07c5e6b1a2d0d0592a30be31ccd140fc1e (patch)
treec23120a706d012bd19c4c2584af5009fd2016ecf /arm9/src/script.c
parente643eddc0def8e4851a4195e8ed4de06c847f52d (diff)
parent227da51c377f621f542ffdb52ef56bfb807f29ab (diff)
Merge branch 'master' of github.com:martmists/pokediamond into pikalax_work
Diffstat (limited to 'arm9/src/script.c')
-rw-r--r--arm9/src/script.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arm9/src/script.c b/arm9/src/script.c
index 8a36f924..23515e5f 100644
--- a/arm9/src/script.c
+++ b/arm9/src/script.c
@@ -1,8 +1,5 @@
-#include "global.h"
#include "script.h"
-u16 ScriptReadHalfword(struct ScriptContext *ctx);
-
THUMB_FUNC void InitScriptContext(struct ScriptContext *ctx, void *cmdTable, void *cmdTableEnd)
{
u32 i;
@@ -42,9 +39,9 @@ THUMB_FUNC void StopScript(struct ScriptContext *ctx)
ctx->scriptPtr = 0;
}
-THUMB_FUNC void FUN_02038B6C(struct ScriptContext *ctx, int r1)
+THUMB_FUNC void FUN_02038B6C(struct ScriptContext *ctx, s32 r1)
{
- ctx->unk74 = r1;
+ ctx->unk74 = (u32)r1;
}
THUMB_FUNC u8 RunScriptCommand(struct ScriptContext *ctx)