diff options
| author | fig02 <fig02srl@gmail.com> | 2020-06-13 22:59:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-13 22:59:58 -0400 |
| commit | 031d946db7134194b03a7b08018944ee0b0db7df (patch) | |
| tree | 5402070e1c3b5fb67284538c4a4e277c3520abf5 /src/code/graph.c | |
| parent | df3bfbc16885008e7ce69f8a84d1715b13d4029f (diff) | |
z_select decompiled, 1 non matching left (#202)
* First pass z_select
* lots of progress. 2 non matchings and data stuff needed
* match Select_LoadGame
* z_select almost ok, 1 func left
* remove comments
* remove comments and add description
* remove unused flg_set asm
* set_next_gamestate macro
* pr suggestions 1
* pr suggestions 2
* map -> scene
* pr suggestions 3
Co-authored-by: Kelebek1 <eeeedddccc@hotmail.co.uk>
Diffstat (limited to 'src/code/graph.c')
| -rw-r--r-- | src/code/graph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/graph.c b/src/code/graph.c index 789139c5c..60b9f9296 100644 --- a/src/code/graph.c +++ b/src/code/graph.c @@ -112,7 +112,7 @@ GameStateOverlay* Graph_GetNextGameState(GameState* gameState) { if (gameStateInitFunc == TitleSetup_Init) { return &gGameStateOverlayTable[0]; } - if (gameStateInitFunc == func_80801E44) { + if (gameStateInitFunc == Select_Init) { return &gGameStateOverlayTable[1]; } if (gameStateInitFunc == Title_Init) { @@ -389,7 +389,7 @@ void Graph_Update(GraphicsContext* gfxCtx, GameState* gameState) { if (D_8012DBC0 && CHECK_PAD(gameState->input[0].press, Z_TRIG) && CHECK_PAD(gameState->input[0].cur, L_TRIG | R_TRIG)) { gSaveContext.gameMode = 0; - SET_NEXT_GAMESTATE(gameState, func_80801E44, char[0x240]); // TODO : SelectContext + SET_NEXT_GAMESTATE(gameState, Select_Init, SelectContext); gameState->running = false; } |
