summaryrefslogtreecommitdiff
path: root/include/scrcmd.h
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2021-03-12 23:23:53 +0000
committerred031000 <rubenru09@aol.com>2021-03-12 23:24:04 +0000
commit8c295f4eae1623bd95a842d375de9cfe3fed8302 (patch)
tree9c4fe58b853fa1107029e6e9ad1d0a3d0ced3022 /include/scrcmd.h
parent4a15dea90f9b17c2efc29bf45dce6b65c50372d3 (diff)
start of scrcmd decomp
Diffstat (limited to 'include/scrcmd.h')
-rw-r--r--include/scrcmd.h28
1 files changed, 27 insertions, 1 deletions
diff --git a/include/scrcmd.h b/include/scrcmd.h
index 5ebec947..0aa3fd75 100644
--- a/include/scrcmd.h
+++ b/include/scrcmd.h
@@ -1,6 +1,32 @@
#ifndef POKEDIAMOND_SCRCMD_H
#define POKEDIAMOND_SCRCMD_H
-BOOL ScrCmd_givemon(struct ScriptContext* ctx);
+#include "global.h"
+#include "script.h"
+
+//scrcmd.c
+BOOL ScrCmd_Nop(struct ScriptContext* ctx);
+BOOL ScrCmd_Dummy(struct ScriptContext* ctx);
+BOOL ScrCmd_End(struct ScriptContext* ctx);
+BOOL ScrCmd_Wait(struct ScriptContext* ctx);
+BOOL ScrCmd_DebugWatch(struct ScriptContext* ctx);
+BOOL ScrCmd_LoadByte(struct ScriptContext* ctx);
+BOOL ScrCmd_LoadWord(struct ScriptContext* ctx);
+BOOL ScrCmd_LoadByteFromAddr(struct ScriptContext* ctx);
+BOOL ScrCmd_WriteByteToAddr(struct ScriptContext* ctx);
+BOOL ScrCmd_SetPtrByte(struct ScriptContext* ctx);
+BOOL ScrCmd_CopyLocal(struct ScriptContext* ctx);
+BOOL ScrCmd_CopyByte(struct ScriptContext* ctx);
+BOOL ScrCmd_CompareLocalToLocal(struct ScriptContext* ctx);
+BOOL ScrCmd_CompareLocalToValue(struct ScriptContext* ctx);
+BOOL ScrCmd_CompareLocalToAddr(struct ScriptContext* ctx);
+BOOL ScrCmd_CompareAddrToLocal(struct ScriptContext* ctx);
+BOOL ScrCmd_CompareAddrToValue(struct ScriptContext* ctx);
+BOOL ScrCmd_CompareAddrToAddr(struct ScriptContext* ctx);
+BOOL ScrCmd_CompareVarToValue(struct ScriptContext* ctx);
+BOOL ScrCmd_CompareVarToVar(struct ScriptContext* ctx);
+
+//scrcmd_18.c
+BOOL ScrCmd_GiveMon(struct ScriptContext* ctx);
#endif //POKEDIAMOND_SCRCMD_H