From d1d946a197e9be2e1f6219f494502d060ffc6e44 Mon Sep 17 00:00:00 2001 From: Dragorn421 Date: Sat, 15 Oct 2022 07:40:00 +0200 Subject: `GameInfo` -> `RegEditor` (#1354) * -> `RegsContext* gRegsContext` * Name regs-related functions * Revert naming `GameState_UpdateRegs` * -> `gRegEditor` * `Regs_InitContext` -> `Regs_Init` * remove mistakenly added file --- docs/tutorial/helper_scripts.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/tutorial') diff --git a/docs/tutorial/helper_scripts.md b/docs/tutorial/helper_scripts.md index efdb31d47..49ca3925c 100644 --- a/docs/tutorial/helper_scripts.md +++ b/docs/tutorial/helper_scripts.md @@ -160,15 +160,15 @@ on the address from the `D_address` containing the cutscene data. ## regconvert -This converts the direct memory references, of the form `gGameInfo->data[index]` or `gGameInfo + 0x`, into the corresponding REG macros defined in [regs.h](../include/regs.h). Run +This converts the direct memory references, of the form `gRegEditor->data[index]` or `gRegEditor + 0x`, into the corresponding REG macros defined in [regs.h](../include/regs.h). Run ```sh ./tools/regconvert.py ``` -if you have it in the form `gGameInfo->data[index]`, or +if you have it in the form `gRegEditor->data[index]`, or ```sh ./tools/regconvert.py --offset ``` -if you have it in the form `gGameInfo + 0x`. You can also run it on a whole file using `--file `. +if you have it in the form `gRegEditor + 0x`. You can also run it on a whole file using `--file `. ## assist -- cgit v1.2.3