SSBM Decomp
Loading...
Searching...
No Matches
gm_1A9B.c File Reference

Game-over "Regend" ending THP playback scene (OnEnter/OnFrame pair). More...

#include "gm_1A7A.h"
#include "dolphin/pad.h"
#include "gm/forward.h"
#include "gm/gm_1A36.h"
#include "gm/gm_1A3F.h"
#include "gm/gm_1BA8.h"
#include "gm/gmregclear.h"
#include "gm/gmregtyfall.h"
#include "lb/lbaudio_ax.h"
#include "lb/lbbgflash.h"
#include "lb/lbmthp.h"
#include "mn/inlines.h"
#include <baselib/gobj.h>
#include <baselib/gobjgxlink.h>
#include <baselib/gobjobject.h>
#include <baselib/sobjlib.h>

Functions

void gm_801A9B30_OnEnter (UNK_T unused)
void gm_801A9D0C_OnFrame (void)

Variables

static u8 gmRegend_InputDelayTimer
static u8 gmRegend_ExitTimer
static char * gmRegend_SimpleThpFiles []
static char * gmRegend_AdventureThpFiles []
static char * gmRegend_AllstarThpFiles []

Detailed Description

Game-over "Regend" ending THP playback scene (OnEnter/OnFrame pair).

This TU is split from gmregenddisp.c: the retail object anchors the THP table loads in gm_801A9B30_OnEnter at the first table literal (gm_803DB640, displacements 0x278/0x5B4/0x8D0), i.e. at this TU's own .data+0. MWCC 1.2.5n always places its merged-data anchor (..data.N) at the object's .data start, so these tables cannot share a TU with the string literals at 0x803DB458-0x803DB640 (which belong to gmregenddisp.c, whose functions anchor at 0x803DB458). Splitting here reproduces the retail anchor exactly; keeping the tables in gmregenddisp.c compiles the same instructions with displacements 0x460/0x79C/0xAB8 instead.

Function Documentation

◆ gm_801A9B30_OnEnter()

void gm_801A9B30_OnEnter ( UNK_T unused)

◆ gm_801A9D0C_OnFrame()

void gm_801A9D0C_OnFrame ( void )

Variable Documentation

◆ gmRegend_InputDelayTimer

u8 gmRegend_InputDelayTimer
static

◆ gmRegend_ExitTimer

u8 gmRegend_ExitTimer
static

◆ gmRegend_SimpleThpFiles

char* gmRegend_SimpleThpFiles[]
static
Initial value:
= {
"GmRegendSimpleCaptain.thp", "GmRegendSimpleDonkey.thp",
"GmRegendSimpleFox.thp", "GmRegendSimpleGamewatch.thp",
"GmRegendSimpleKirby.thp", "GmRegendSimpleKoopa.thp",
"GmRegendSimpleLink.thp", "GmRegendSimpleLuigi.thp",
"GmRegendSimpleMario.thp", "GmRegendSimpleMarth.thp",
"GmRegendSimpleMewtwo.thp", "GmRegendSimpleNess.thp",
"GmRegendSimplePeach.thp", "GmRegendSimplePikachu.thp",
"GmRegendSimplePoponana.thp", "GmRegendSimplePurin.thp",
"GmRegendSimpleSamus.thp", "GmRegendSimpleYoshi.thp",
"GmRegendSimpleZeldaseak.thp", "GmRegendSimpleZeldaseak.thp",
"GmRegendSimpleFalco.thp", "GmRegendSimpleClink.thp",
"GmRegendSimpleDrmario.thp", "GmRegendSimpleRoy.thp",
"GmRegendSimplePichu.thp", "GmRegendSimpleGanon.thp",
}

◆ gmRegend_AdventureThpFiles

char* gmRegend_AdventureThpFiles[]
static
Initial value:
= {
"GmRegendAdventureCaptain.thp", "GmRegendAdventureDonkey.thp",
"GmRegendAdventureFox.thp", "GmRegendAdventureGamewatch.thp",
"GmRegendAdventureKirby.thp", "GmRegendAdventureKoopa.thp",
"GmRegendAdventureLink.thp", "GmRegendAdventureLuigi.thp",
"GmRegendAdventureMario.thp", "GmRegendAdventureMarth.thp",
"GmRegendAdventureMewtwo.thp", "GmRegendAdventureNess.thp",
"GmRegendAdventurePeach.thp", "GmRegendAdventurePikachu.thp",
"GmRegendAdventurePoponana.thp", "GmRegendAdventurePurin.thp",
"GmRegendAdventureSamus.thp", "GmRegendAdventureYoshi.thp",
"GmRegendAdventureZeldaseak.thp", "GmRegendAdventureZeldaseak.thp",
"GmRegendAdventureFalco.thp", "GmRegendAdventureClink.thp",
"GmRegendAdventureDrmario.thp", "GmRegendAdventureRoy.thp",
"GmRegendAdventurePichu.thp", "GmRegendAdventureGanon.thp",
}

◆ gmRegend_AllstarThpFiles

char* gmRegend_AllstarThpFiles[]
static
Initial value:
= {
"GmRegendAllstarCaptain.thp", "GmRegendAllstarDonkey.thp",
"GmRegendAllstarFox.thp", "GmRegendAllstarGamewatch.thp",
"GmRegendAllstarKirby.thp", "GmRegendAllstarKoopa.thp",
"GmRegendAllstarLink.thp", "GmRegendAllstarLuigi.thp",
"GmRegendAllstarMario.thp", "GmRegendAllstarMarth.thp",
"GmRegendAllstarMewtwo.thp", "GmRegendAllstarNess.thp",
"GmRegendAllstarPeach.thp", "GmRegendAllstarPikachu.thp",
"GmRegendAllstarPoponana.thp", "GmRegendAllstarPurin.thp",
"GmRegendAllstarSamus.thp", "GmRegendAllstarYoshi.thp",
"GmRegendAllstarZeldaseak.thp", "GmRegendAllstarZeldaseak.thp",
"GmRegendAllstarFalco.thp", "GmRegendAllstarClink.thp",
"GmRegendAllstarDrmario.thp", "GmRegendAllstarRoy.thp",
"GmRegendAllstarPichu.thp", "GmRegendAllstarGanon.thp",
}