From a01695cb9e40c20f24af686b39c5c1610d55ef7b Mon Sep 17 00:00:00 2001 From: red031000 Date: Mon, 12 Jun 2023 21:08:01 +0100 Subject: [PATCH] literally three comments --- include/unk_0203E348.h | 1 + src/scrcmd_c.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/unk_0203E348.h b/include/unk_0203E348.h index d8b7cfb642..aa5c33bd0d 100644 --- a/include/unk_0203E348.h +++ b/include/unk_0203E348.h @@ -133,6 +133,7 @@ static inline PCBoxAppData *PCBoxAppData_New(ScriptContext *ctx) { return ret; } +//todo convert these to an enum #define NAMINGSCREEN_PLAYER 0 #define NAMINGSCREEN_POKEMON 1 #define NAMINGSCREEN_BOX 2 diff --git a/src/scrcmd_c.c b/src/scrcmd_c.c index 1e15403962..c7bdc37b31 100644 --- a/src/scrcmd_c.c +++ b/src/scrcmd_c.c @@ -2052,7 +2052,7 @@ BOOL ScrCmd_ChooseStarter(ScriptContext *ctx) { return TRUE; } -BOOL ScrCmd_333(ScriptContext *ctx) { //todo: bag screen +BOOL ScrCmd_333(ScriptContext *ctx) { //todo: bag select screen void **p_work; u8 r4 = ScriptReadByte(ctx) != 0 ? 1 : 0; p_work = FieldSysGetAttrAddr(ctx->fsys, SCRIPTENV_RUNNING_APP_DATA); @@ -2062,7 +2062,7 @@ BOOL ScrCmd_333(ScriptContext *ctx) { //todo: bag screen return TRUE; } -BOOL ScrCmd_334(ScriptContext *ctx) { //todo: bag select screen +BOOL ScrCmd_334(ScriptContext *ctx) { //todo: bag select screen result u16 *r5 = ScriptGetVarPointer(ctx); void **p_work = FieldSysGetAttrAddr(ctx->fsys, SCRIPTENV_RUNNING_APP_DATA); GF_ASSERT(*p_work != NULL);