SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
EventUtil.hpp
1#pragma once
2
3#include <revolution.h>
4
5namespace MR {
6 bool isOnGameEventFlagRosettaTalkAboutTicoInTower();
7
8 bool isPowerStarGetDemoWithLuigiCurrentGalaxyAndScenario(s32);
9
10 bool isOnGameEventFlagChildsRoom();
11 bool isOnGameEventFlagLibraryRoom();
12 bool isOnGameEventFlagRosettaTalkAboutTicoInTower();
13 bool isRosettaTalkTorchProgress();
14 bool isRosettaTalkCountDownStart();
15 bool isRosettaTalkAstroDomeRecover();
16 bool isRosettaTalkKoopa();
17 bool isRosettaTalkTorchLecture();
18 bool isKinopioExplorerCompleteTrickComet();
19 bool isKinopioExplorerTalkGoFinalBattle();
20 bool isKinopioExplorerTalkGetGrandStar6();
21 bool isKinopioExplorerTalkGetGrandStar5();
22 bool isKinopioExplorerTalkGetGrandStar4();
23 bool isKinopioExplorerTalkGetGrandStar3();
24 bool isKinopioExplorerTrickComet();
25 bool isKinopioExplorerTalkGetGrandStar2();
26 bool isUFOKinokoBeforeConstruction();
27
28 bool isOnGameEventFlagGreenDriver();
29
30 bool hasGrandStar(int);
31
32 bool hasPowerStarInCurrentStage(s32);
33
34 bool hasPowerStarAtResultSequence();
35
36 bool hasPowerStarInCurrentStageWithDeclarer(const char *, s32);
37 bool isPowerStarGreenInCurrentStageWithDeclarer(const char *, s32);
38 bool isPowerStarRedInCurrentStageWithDeclarer(const char* , s32);
39
40 bool isPowerStarGreenInCurrentStage(s32);
41 bool isPowerStarRedInCurrentStage(s32);
42 bool isGrandStarInCurrentStage(s32);
43
44 bool isPowerStarGreenAtResultSequence();
45 bool isPowerStarRedAtResultSequence();
46
47 bool isGrandStarInCurrentStageWithDeclarer(const char *, s32);
48
49 bool isPowerStarGetDemoWithLuigiCurrentGalaxy();
50
51 bool isGalaxyRedCometAppearInCurrentStage();
52 bool isGalaxyDarkCometAppearInCurrentStage();
53 bool isGalaxyRedCometAppearInCurrentStage();
54 bool isGalaxyGhostCometAppearInCurrentStage();
55 bool isGalaxyQuickCometAppearInCurrentStage();
56 bool isGalaxyBlackCometAppearInCurrentStage();
57
58 bool isPlayerLuigi();
59
60 void explainOneUpIfAtFirst();
61
62 s32 getPlayerLeft();
63 void incPlayerLeft();
64
65 bool isUFOKinokoBeforeConstruction();
66 bool isUFOKinokoUnderConstruction();
67
68 bool isStarPieceCounterStop();
69
70 void updateAlreadyDoneFlag(int, u32);
71 bool isOnMessageAlreadyRead(s8);
72 void onMessageAlreadyRead(s8);
73 u32 setupAlreadyDoneFlag(const char *, const JMapInfoIter &, u32 *);
74
75 bool isGalaxyCometLandInStage(const char *);
76
77 int getEncounterGalaxyCometNameId(const char *);
78
79 int getStarPieceNum();
80
81 const char* getCometNameFromId(int);
82
83 s32 getEncounterGalaxyCometPowerStarId(const char *);
84};