Merge pull request #279 from robojumper/d_lyt_mini_game

d_lyt_mini_game
This commit is contained in:
robojumper
2025-12-08 16:30:13 +01:00
committed by GitHub
22 changed files with 5315 additions and 391 deletions
+3 -1
View File
@@ -1618,9 +1618,11 @@ d/lyt/d_lyt_enemy_icon.cpp:
d/lyt/d_lyt_mini_game.cpp:
.text start:0x8028BCE0 end:0x802969E0 align:16
.rodata start:0x804EE790 end:0x804EEB68
.rodata start:0x804EE7D8 end:0x804EEB68
.data start:0x80538E58 end:0x80539B68
.sdata start:0x80573B88 end:0x80573BB0
.sbss start:0x80575970 end:0x80575990
.sdata2 start:0x8057C700 end:0x8057C760
d/lyt/d_lyt_meter_suiryu_score.cpp:
.text start:0x802969E0 end:0x8029C2C8 align:16
+282 -282
View File
@@ -555,9 +555,9 @@ create__3d3dFPQ23EGG4Heap = .text:0x80016700; // type:function size:0x160
fn_80016860 = .text:0x80016860; // type:function size:0x28
createLightTextures__3d3dFv = .text:0x80016890; // type:function size:0x98
fn_80016930 = .text:0x80016930; // type:function size:0x2C
fn_80016960__3d3dFR7mVec3_cRC7mVec3_c = .text:0x80016960; // type:function size:0x130
fn_80016A90__3d3dFRC7mVec3_c = .text:0x80016A90; // type:function size:0xCC
fn_80016B60 = .text:0x80016B60; // type:function size:0xAC
worldToScreen__3d3dFR7mVec3_cRC7mVec3_c = .text:0x80016960; // type:function size:0x130
isOnScreen__3d3dFRC7mVec3_c = .text:0x80016A90; // type:function size:0xCC
screenToWorld = .text:0x80016B60; // type:function size:0xAC
__ct__Q23d3d13AnmMdlWrapperFv = .text:0x80016C10; // type:function size:0x88
__dt__Q23d3d13AnmMdlWrapperFv = .text:0x80016CA0; // type:function size:0xB0
create__Q23d3d13AnmMdlWrapperFR9dAcBase_cPvPvPCcPCcUl = .text:0x80016D50; // type:function size:0x78
@@ -4500,7 +4500,7 @@ executeState__85sStateMgr_c<16dLytMeterParts_c,20sStateMethodUsr_FI_c,12sFStateF
isNotSilentRealmOrLoftwing__15dLytMeterMain_cFv = .text:0x800C9F20; // type:function size:0x44
fn_800C9F70__15dLytMeterMain_cFv = .text:0x800C9F70; // type:function size:0x70
fn_800C9FE0__15dLytMeterMain_cFv = .text:0x800C9FE0; // type:function size:0x60
fn_800CA040__15dLytMeterMain_cFv = .text:0x800CA040; // type:function size:0x60
isPopupOpen__15dLytMeterMain_cFv = .text:0x800CA040; // type:function size:0x60
setUiMode__15dLytMeterMain_cCFUs = .text:0x800CA0A0; // type:function size:0x1C
getUiMode__15dLytMeterMain_cFv = .text:0x800CA0C0; // type:function size:0x38
__ct__15dLytMeterMain_cFv = .text:0x800CA100; // type:function size:0x1C0
@@ -13142,7 +13142,7 @@ checkBambooCuttingMinigameState2 = .text:0x8023BCE0; // type:function size:0x4
checkMinigameThrillDigger = .text:0x8023BCF0; // type:function size:0x4
checkMinigameThrillDigger2 = .text:0x8023BD00; // type:function size:0x8
checkFunFunIslandMinigameState = .text:0x8023BD10; // type:function size:0x4
checkFunFunIslandMinigameState2 = .text:0x8023BD20; // type:function size:0x8
checkInFunFunIsland__15MinigameManagerFv = .text:0x8023BD20; // type:function size:0x8
checkMinigameHouseCleaning = .text:0x8023BD30; // type:function size:0x4
checkMinigameHouseCleaning2 = .text:0x8023BD40; // type:function size:0x8
checkTrialTimeAttackMinigameState = .text:0x8023BD50; // type:function size:0x4
@@ -13682,7 +13682,7 @@ AcItem__checkFlagForItem2 = .text:0x80252D90; // type:function size:0x34
AcItem__setItemFlagBasedOnId = .text:0x80252DD0; // type:function size:0x34
AcItem__getTreasureShift = .text:0x80252E10; // type:function size:0x48
AcItem__setTreasureTempCollect = .text:0x80252E60; // type:function size:0x40
AcItem__checkTreasureTempCollect = .text:0x80252EA0; // type:function size:0x50
checkTreasureTempCollect__9dAcItem_cFUs = .text:0x80252EA0; // type:function size:0x50
AcItem__setBoundingBox = .text:0x80252EF0; // type:function size:0x88
fn_80252F80 = .text:0x80252F80; // type:function size:0x88
fn_80253010 = .text:0x80253010; // type:function size:0x88
@@ -15224,268 +15224,268 @@ fn_8028BA90 = .text:0x8028BA90; // type:function size:0x30
LytEnemyIcon__initStates = .text:0x8028BAC0; // type:function size:0x128
LytEnemyIcon__dtor = .text:0x8028BBF0; // type:function size:0x58
fn_8028BC50 = .text:0x8028BC50; // type:function size:0x88
fn_8028BCE0 = .text:0x8028BCE0; // type:function size:0xDC
fn_8028BDC0 = .text:0x8028BDC0; // type:function size:0x58
fn_8028BE20 = .text:0x8028BE20; // type:function size:0x180
fn_8028BFA0 = .text:0x8028BFA0; // type:function size:0x28
fn_8028BFD0 = .text:0x8028BFD0; // type:function size:0x88
fn_8028C060 = .text:0x8028C060; // type:function size:0x90
fn_8028C0F0 = .text:0x8028C0F0; // type:function size:0x74
fn_8028C170 = .text:0x8028C170; // type:function size:0x28
fn_8028C1A0 = .text:0x8028C1A0; // type:function size:0x54
fn_8028C200 = .text:0x8028C200; // type:function size:0x54
fn_8028C260 = .text:0x8028C260; // type:function size:0xC
fn_8028C270 = .text:0x8028C270; // type:function size:0x60
fn_8028C2D0 = .text:0x8028C2D0; // type:function size:0x60
fn_8028C330 = .text:0x8028C330; // type:function size:0x60
fn_8028C390 = .text:0x8028C390; // type:function size:0x114
fn_8028C4B0 = .text:0x8028C4B0; // type:function size:0x70
fn_8028C520 = .text:0x8028C520; // type:function size:0x6C
fn_8028C590 = .text:0x8028C590; // type:function size:0x64
fn_8028C600 = .text:0x8028C600; // type:function size:0x64
fn_8028C670 = .text:0x8028C670; // type:function size:0x58
fn_8028C6D0 = .text:0x8028C6D0; // type:function size:0xA4
fn_8028C780 = .text:0x8028C780; // type:function size:0x48
fn_8028C7D0 = .text:0x8028C7D0; // type:function size:0x114
fn_8028C8F0 = .text:0x8028C8F0; // type:function size:0x8C
fn_8028C980 = .text:0x8028C980; // type:function size:0x168
fn_8028CAF0 = .text:0x8028CAF0; // type:function size:0x3C
fn_8028CB30 = .text:0x8028CB30; // type:function size:0x90
fn_8028CBC0 = .text:0x8028CBC0; // type:function size:0xB8
fn_8028CC80 = .text:0x8028CC80; // type:function size:0x90
fn_8028CD10 = .text:0x8028CD10; // type:function size:0x8C
fn_8028CDA0 = .text:0x8028CDA0; // type:function size:0x80
fn_8028CE20 = .text:0x8028CE20; // type:function size:0x150
fn_8028CF70 = .text:0x8028CF70; // type:function size:0xC0
fn_8028D030 = .text:0x8028D030; // type:function size:0xE0
fn_8028D110 = .text:0x8028D110; // type:function size:0x48
fn_8028D160 = .text:0x8028D160; // type:function size:0x38
fn_8028D1A0 = .text:0x8028D1A0; // type:function size:0x2C
fn_8028D1D0 = .text:0x8028D1D0; // type:function size:0xC0
fn_8028D290 = .text:0x8028D290; // type:function size:0x80
fn_8028D310 = .text:0x8028D310; // type:function size:0x80
fn_8028D390 = .text:0x8028D390; // type:function size:0xC0
fn_8028D450 = .text:0x8028D450; // type:function size:0xC0
fn_8028D510 = .text:0x8028D510; // type:function size:0xC0
fn_8028D5D0 = .text:0x8028D5D0; // type:function size:0x58
fn_8028D630 = .text:0x8028D630; // type:function size:0xC
fn_8028D640 = .text:0x8028D640; // type:function size:0xC
fn_8028D650 = .text:0x8028D650; // type:function size:0x18
fn_8028D670 = .text:0x8028D670; // type:function size:0x58
fn_8028D6D0 = .text:0x8028D6D0; // type:function size:0x44
fn_8028D720 = .text:0x8028D720; // type:function size:0x44
fn_8028D770 = .text:0x8028D770; // type:function size:0x44
fn_8028D7C0 = .text:0x8028D7C0; // type:function size:0x50
fn_8028D810 = .text:0x8028D810; // type:function size:0x18
fn_8028D830 = .text:0x8028D830; // type:function size:0x74
fn_8028D8B0 = .text:0x8028D8B0; // type:function size:0xC8
fn_8028D980 = .text:0x8028D980; // type:function size:0x74
fn_8028DA00 = .text:0x8028DA00; // type:function size:0x224
fn_8028DC30 = .text:0x8028DC30; // type:function size:0x48
fn_8028DC80 = .text:0x8028DC80; // type:function size:0x100
fn_8028DD80 = .text:0x8028DD80; // type:function size:0xC0
fn_8028DE40 = .text:0x8028DE40; // type:function size:0x84
fn_8028DED0 = .text:0x8028DED0; // type:function size:0x100
fn_8028DFD0 = .text:0x8028DFD0; // type:function size:0xEC
fn_8028E0C0 = .text:0x8028E0C0; // type:function size:0xAC
fn_8028E170 = .text:0x8028E170; // type:function size:0x60
fn_8028E1D0 = .text:0x8028E1D0; // type:function size:0xC4
fn_8028E2A0 = .text:0x8028E2A0; // type:function size:0x54
fn_8028E300 = .text:0x8028E300; // type:function size:0x14
fn_8028E320 = .text:0x8028E320; // type:function size:0x198
fn_8028E4C0 = .text:0x8028E4C0; // type:function size:0x2C
fn_8028E4F0 = .text:0x8028E4F0; // type:function size:0x124
fn_8028E620 = .text:0x8028E620; // type:function size:0xC
fn_8028E630 = .text:0x8028E630; // type:function size:0x194
fn_8028E7D0 = .text:0x8028E7D0; // type:function size:0x98
fn_8028E870 = .text:0x8028E870; // type:function size:0x80
fn_8028E8F0 = .text:0x8028E8F0; // type:function size:0x80
fn_8028E970 = .text:0x8028E970; // type:function size:0x80
fn_8028E9F0 = .text:0x8028E9F0; // type:function size:0x80
fn_8028EA70 = .text:0x8028EA70; // type:function size:0x13C
fn_8028EBB0 = .text:0x8028EBB0; // type:function size:0x60
fn_8028EC10 = .text:0x8028EC10; // type:function size:0x8
fn_8028EC20 = .text:0x8028EC20; // type:function size:0x114
fn_8028ED40 = .text:0x8028ED40; // type:function size:0x74
fn_8028EDC0 = .text:0x8028EDC0; // type:function size:0x64
fn_8028EE30 = .text:0x8028EE30; // type:function size:0xC
fn_8028EE40 = .text:0x8028EE40; // type:function size:0xC
fn_8028EE50 = .text:0x8028EE50; // type:function size:0xC
fn_8028EE60 = .text:0x8028EE60; // type:function size:0xC
fn_8028EE70 = .text:0x8028EE70; // type:function size:0x64
fn_8028EEE0 = .text:0x8028EEE0; // type:function size:0xC
fn_8028EEF0 = .text:0x8028EEF0; // type:function size:0x44
fn_8028EF40 = .text:0x8028EF40; // type:function size:0x44
fn_8028EF90 = .text:0x8028EF90; // type:function size:0x44
fn_8028EFE0 = .text:0x8028EFE0; // type:function size:0x44
fn_8028F030 = .text:0x8028F030; // type:function size:0x44
fn_8028F080 = .text:0x8028F080; // type:function size:0x11C
fn_8028F1A0 = .text:0x8028F1A0; // type:function size:0x94
fn_8028F240 = .text:0x8028F240; // type:function size:0x80
fn_8028F2C0 = .text:0x8028F2C0; // type:function size:0xE8
fn_8028F3B0 = .text:0x8028F3B0; // type:function size:0xB4
fn_8028F470 = .text:0x8028F470; // type:function size:0xB4
fn_8028F530 = .text:0x8028F530; // type:function size:0xBC
fn_8028F5F0 = .text:0x8028F5F0; // type:function size:0x74
fn_8028F670 = .text:0x8028F670; // type:function size:0x1BC
fn_8028F830 = .text:0x8028F830; // type:function size:0x48
fn_8028F880 = .text:0x8028F880; // type:function size:0x10C
fn_8028F990 = .text:0x8028F990; // type:function size:0x4C
fn_8028F9E0 = .text:0x8028F9E0; // type:function size:0x60
fn_8028FA40 = .text:0x8028FA40; // type:function size:0x4C
fn_8028FA90 = .text:0x8028FA90; // type:function size:0x4C
fn_8028FAE0 = .text:0x8028FAE0; // type:function size:0x58
fn_8028FB40 = .text:0x8028FB40; // type:function size:0x58
fn_8028FBA0 = .text:0x8028FBA0; // type:function size:0x58
fn_8028FC00 = .text:0x8028FC00; // type:function size:0x20
fn_8028FC20 = .text:0x8028FC20; // type:function size:0x54
fn_8028FC80 = .text:0x8028FC80; // type:function size:0x54
fn_8028FCE0 = .text:0x8028FCE0; // type:function size:0x54
fn_8028FD40 = .text:0x8028FD40; // type:function size:0xC
fn_8028FD50 = .text:0x8028FD50; // type:function size:0xC
fn_8028FD60 = .text:0x8028FD60; // type:function size:0xC
fn_8028FD70 = .text:0x8028FD70; // type:function size:0x48
fn_8028FDC0 = .text:0x8028FDC0; // type:function size:0x48
fn_8028FE10 = .text:0x8028FE10; // type:function size:0x48
fn_8028FE60 = .text:0x8028FE60; // type:function size:0x48
fn_8028FEB0 = .text:0x8028FEB0; // type:function size:0x48
fn_8028FF00 = .text:0x8028FF00; // type:function size:0x48
fn_8028FF50 = .text:0x8028FF50; // type:function size:0x168
fn_802900C0 = .text:0x802900C0; // type:function size:0x74
fn_80290140 = .text:0x80290140; // type:function size:0x2EC
fn_80290430 = .text:0x80290430; // type:function size:0x48
fn_80290480 = .text:0x80290480; // type:function size:0xF84
fn_80291410 = .text:0x80291410; // type:function size:0x1A0
fn_802915B0 = .text:0x802915B0; // type:function size:0x84
fn_80291640 = .text:0x80291640; // type:function size:0x100
fn_80291740 = .text:0x80291740; // type:function size:0xEC
fn_80291830 = .text:0x80291830; // type:function size:0xD0
fn_80291900 = .text:0x80291900; // type:function size:0x60
fn_80291960 = .text:0x80291960; // type:function size:0xD0
fn_80291A30 = .text:0x80291A30; // type:function size:0x110
fn_80291B40 = .text:0x80291B40; // type:function size:0x54
fn_80291BA0 = .text:0x80291BA0; // type:function size:0x14
fn_80291BC0 = .text:0x80291BC0; // type:function size:0x178
fn_80291D40 = .text:0x80291D40; // type:function size:0x10C
fn_80291E50 = .text:0x80291E50; // type:function size:0x34
fn_80291E90 = .text:0x80291E90; // type:function size:0x34
fn_80291ED0 = .text:0x80291ED0; // type:function size:0x14
fn_80291EF0 = .text:0x80291EF0; // type:function size:0x138
fn_80292030 = .text:0x80292030; // type:function size:0xC
fn_80292040 = .text:0x80292040; // type:function size:0x68
fn_802920B0 = .text:0x802920B0; // type:function size:0x54
fn_80292110 = .text:0x80292110; // type:function size:0x8C
fn_802921A0 = .text:0x802921A0; // type:function size:0x9C
fn_80292240 = .text:0x80292240; // type:function size:0xC
fn_80292250 = .text:0x80292250; // type:function size:0x98
fn_802922F0 = .text:0x802922F0; // type:function size:0x90
fn_80292380 = .text:0x80292380; // type:function size:0x80
fn_80292400 = .text:0x80292400; // type:function size:0x80
fn_80292480 = .text:0x80292480; // type:function size:0x80
fn_80292500 = .text:0x80292500; // type:function size:0x90
fn_80292590 = .text:0x80292590; // type:function size:0x80
fn_80292610 = .text:0x80292610; // type:function size:0x100
fn_80292710 = .text:0x80292710; // type:function size:0x170
fn_80292880 = .text:0x80292880; // type:function size:0x8C
fn_80292910 = .text:0x80292910; // type:function size:0xC
fn_80292920 = .text:0x80292920; // type:function size:0xC
fn_80292930 = .text:0x80292930; // type:function size:0xC
fn_80292940 = .text:0x80292940; // type:function size:0xC
fn_80292950 = .text:0x80292950; // type:function size:0x64
fn_802929C0 = .text:0x802929C0; // type:function size:0x7C
fn_80292A40 = .text:0x80292A40; // type:function size:0xC
fn_80292A50 = .text:0x80292A50; // type:function size:0x44
fn_80292AA0 = .text:0x80292AA0; // type:function size:0x44
fn_80292AF0 = .text:0x80292AF0; // type:function size:0x44
fn_80292B40 = .text:0x80292B40; // type:function size:0x44
fn_80292B90 = .text:0x80292B90; // type:function size:0x44
fn_80292BE0 = .text:0x80292BE0; // type:function size:0x44
fn_80292C30 = .text:0x80292C30; // type:function size:0x764
fn_802933A0 = .text:0x802933A0; // type:function size:0x6C
fn_80293410 = .text:0x80293410; // type:function size:0x34
fn_80293450 = .text:0x80293450; // type:function size:0x2A0
fn_802936F0 = .text:0x802936F0; // type:function size:0xC8
fn_802937C0 = .text:0x802937C0; // type:function size:0x74
fn_80293840 = .text:0x80293840; // type:function size:0xF0
fn_80293930 = .text:0x80293930; // type:function size:0x48
fn_80293980 = .text:0x80293980; // type:function size:0xA8
fn_80293A30 = .text:0x80293A30; // type:function size:0x60
fn_80293A90 = .text:0x80293A90; // type:function size:0x60
fn_80293AF0 = .text:0x80293AF0; // type:function size:0xC0
fn_80293BB0 = .text:0x80293BB0; // type:function size:0xA8
fn_80293C60 = .text:0x80293C60; // type:function size:0xE0
fn_80293D40 = .text:0x80293D40; // type:function size:0x80
fn_80293DC0 = .text:0x80293DC0; // type:function size:0x80
fn_80293E40 = .text:0x80293E40; // type:function size:0x88
fn_80293ED0 = .text:0x80293ED0; // type:function size:0x74
fn_80293F50 = .text:0x80293F50; // type:function size:0x54
fn_80293FB0 = .text:0x80293FB0; // type:function size:0x54
fn_80294010 = .text:0x80294010; // type:function size:0xC
fn_80294020 = .text:0x80294020; // type:function size:0xC
fn_80294030 = .text:0x80294030; // type:function size:0x44
fn_80294080 = .text:0x80294080; // type:function size:0x44
LytMiniGame__ctor = .text:0x802940D0; // type:function size:0x380
fn_80294450 = .text:0x80294450; // type:function size:0x74
fn_802944D0 = .text:0x802944D0; // type:function size:0x74
fn_80294550 = .text:0x80294550; // type:function size:0x74
fn_802945D0 = .text:0x802945D0; // type:function size:0x74
fn_80294650 = .text:0x80294650; // type:function size:0x74
fn_802946D0 = .text:0x802946D0; // type:function size:0x6C
fn_80294740 = .text:0x80294740; // type:function size:0x74
fn_802947C0 = .text:0x802947C0; // type:function size:0x68
LytMiniGame__init = .text:0x80294830; // type:function size:0xA94
LytMiniGame__destructRes = .text:0x802952D0; // type:function size:0x31C
fn_802955F0 = .text:0x802955F0; // type:function size:0xD4
fn_802956D0 = .text:0x802956D0; // type:function size:0x6C
scoreRelatedExecute__14dLytMiniGame_cFv = .text:0x80295740; // type:function size:0x8C
scoreRelated__14dLytMiniGame_cFv = .text:0x802957D0; // type:function size:0x78
build__26dLytMiniGamePumpkinParts_cFPQ23d2d10ResAccIf_c = .text:0x8028BCE0; // type:function size:0xDC
remove__26dLytMiniGamePumpkinParts_cFv = .text:0x8028BDC0; // type:function size:0x58
execute__26dLytMiniGamePumpkinParts_cFv = .text:0x8028BE20; // type:function size:0x180
draw__26dLytMiniGamePumpkinParts_cFv = .text:0x8028BFA0; // type:function size:0x28
init__26dLytMiniGamePumpkinParts_cFv = .text:0x8028BFD0; // type:function size:0x88
setPumpkinPos__26dLytMiniGamePumpkinParts_cFRC7mVec3_c = .text:0x8028C060; // type:function size:0x90
getPoint__26dLytMiniGamePumpkinParts_cFUcb = .text:0x8028C0F0; // type:function size:0x74
isActive__26dLytMiniGamePumpkinParts_cCFv = .text:0x8028C170; // type:function size:0x28
startGetPoint__26dLytMiniGamePumpkinParts_cFv = .text:0x8028C1A0; // type:function size:0x54
startDoubleScore__26dLytMiniGamePumpkinParts_cFv = .text:0x8028C200; // type:function size:0x54
stopDoubleScore__26dLytMiniGamePumpkinParts_cFv = .text:0x8028C260; // type:function size:0xC
resetGetPoint__26dLytMiniGamePumpkinParts_cFv = .text:0x8028C270; // type:function size:0x60
resetDoubleScore__26dLytMiniGamePumpkinParts_cFv = .text:0x8028C2D0; // type:function size:0x60
resetPattern__26dLytMiniGamePumpkinParts_cFv = .text:0x8028C330; // type:function size:0x60
setPattern__26dLytMiniGamePumpkinParts_cFl = .text:0x8028C390; // type:function size:0x114
build__21dLytMiniGamePumpkin_cFPQ23d2d10ResAccIf_c = .text:0x8028C4B0; // type:function size:0x70
remove__21dLytMiniGamePumpkin_cFv = .text:0x8028C520; // type:function size:0x6C
execute__21dLytMiniGamePumpkin_cFv = .text:0x8028C590; // type:function size:0x64
draw__21dLytMiniGamePumpkin_cFv = .text:0x8028C600; // type:function size:0x64
init__21dLytMiniGamePumpkin_cFv = .text:0x8028C670; // type:function size:0x58
getPoint__21dLytMiniGamePumpkin_cFRC7mVec3_clb = .text:0x8028C6D0; // type:function size:0xA4
calcCombo__21dLytMiniGamePumpkin_cFl = .text:0x8028C780; // type:function size:0x48
build__18dLytMiniGameBugs_cFPQ23d2d10ResAccIf_c = .text:0x8028C7D0; // type:function size:0x114
remove__18dLytMiniGameBugs_cFv = .text:0x8028C8F0; // type:function size:0x8C
execute__18dLytMiniGameBugs_cFv = .text:0x8028C980; // type:function size:0x168
draw__18dLytMiniGameBugs_cFv = .text:0x8028CAF0; // type:function size:0x3C
init__18dLytMiniGameBugs_cFv = .text:0x8028CB30; // type:function size:0x90
startAllIconsIn__18dLytMiniGameBugs_cFv = .text:0x8028CBC0; // type:function size:0xB8
startOut__18dLytMiniGameBugs_cFv = .text:0x8028CC80; // type:function size:0x90
startIn__18dLytMiniGameBugs_cFv = .text:0x8028CD10; // type:function size:0x8C
startOutTemp__18dLytMiniGameBugs_cFv = .text:0x8028CDA0; // type:function size:0x80
collectBug__18dLytMiniGameBugs_cFl = .text:0x8028CE20; // type:function size:0x150
startBugsFlash__18dLytMiniGameBugs_cFv = .text:0x8028CF70; // type:function size:0xC0
setBug__18dLytMiniGameBugs_cFll = .text:0x8028D030; // type:function size:0xE0
isSlotIconOnEndReached__18dLytMiniGameBugs_cCFl = .text:0x8028D110; // type:function size:0x48
isSlotIconOnEnabled__18dLytMiniGameBugs_cCFl = .text:0x8028D160; // type:function size:0x38
isSlotBugCollected__18dLytMiniGameBugs_cCFl = .text:0x8028D1A0; // type:function size:0x2C
resetBugIconsIn__18dLytMiniGameBugs_cFv = .text:0x8028D1D0; // type:function size:0xC0
resetIn__18dLytMiniGameBugs_cFv = .text:0x8028D290; // type:function size:0x80
resetOut__18dLytMiniGameBugs_cFv = .text:0x8028D310; // type:function size:0x80
resetBugIconsOn__18dLytMiniGameBugs_cFv = .text:0x8028D390; // type:function size:0xC0
resetBugIconsTex__18dLytMiniGameBugs_cFv = .text:0x8028D450; // type:function size:0xC0
resetBugIconsFlash__18dLytMiniGameBugs_cFv = .text:0x8028D510; // type:function size:0xC0
stopBugIconsIn__18dLytMiniGameBugs_cFv = .text:0x8028D5D0; // type:function size:0x58
stopIn__18dLytMiniGameBugs_cFv = .text:0x8028D630; // type:function size:0xC
stopOut__18dLytMiniGameBugs_cFv = .text:0x8028D640; // type:function size:0xC
stopBugIconOn__18dLytMiniGameBugs_cFl = .text:0x8028D650; // type:function size:0x18
stopBugIconsFlash__18dLytMiniGameBugs_cFv = .text:0x8028D670; // type:function size:0x58
isIconInEndReached__18dLytMiniGameBugs_cCFv = .text:0x8028D6D0; // type:function size:0x44
isInEndReached__18dLytMiniGameBugs_cCFv = .text:0x8028D720; // type:function size:0x44
isOutEndReached__18dLytMiniGameBugs_cCFv = .text:0x8028D770; // type:function size:0x44
isSlotOnEndReached__18dLytMiniGameBugs_cCFl = .text:0x8028D7C0; // type:function size:0x50
isBug0Flashing__18dLytMiniGameBugs_cCFv = .text:0x8028D810; // type:function size:0x18
areAllBugIconsOn__18dLytMiniGameBugs_cCFv = .text:0x8028D830; // type:function size:0x74
build__18dLytMiniGameTime_cFPQ23d2d10ResAccIf_c = .text:0x8028D8B0; // type:function size:0xC8
remove__18dLytMiniGameTime_cFv = .text:0x8028D980; // type:function size:0x74
execute__18dLytMiniGameTime_cFv = .text:0x8028DA00; // type:function size:0x224
draw__18dLytMiniGameTime_cFv = .text:0x8028DC30; // type:function size:0x48
init__18dLytMiniGameTime_cFv = .text:0x8028DC80; // type:function size:0x100
fn_8028DD80__18dLytMiniGameTime_cFv = .text:0x8028DD80; // type:function size:0xC0
startOut__18dLytMiniGameTime_cFv = .text:0x8028DE40; // type:function size:0x84
startIn__18dLytMiniGameTime_cFv = .text:0x8028DED0; // type:function size:0x100
startOutTemp__18dLytMiniGameTime_cFv = .text:0x8028DFD0; // type:function size:0xEC
startAlphaIn__18dLytMiniGameTime_cFv = .text:0x8028E0C0; // type:function size:0xAC
startAlphaOut__18dLytMiniGameTime_cFv = .text:0x8028E170; // type:function size:0x60
startFinish__18dLytMiniGameTime_cFv = .text:0x8028E1D0; // type:function size:0xC4
startLoop__18dLytMiniGameTime_cFv = .text:0x8028E2A0; // type:function size:0x54
setTimerValueInMilliSeconds__18dLytMiniGameTime_cFl = .text:0x8028E300; // type:function size:0x14
updateLongTimer__18dLytMiniGameTime_cFv = .text:0x8028E320; // type:function size:0x198
setTimerSecondsValueInMilliSeconds__18dLytMiniGameTime_cFl = .text:0x8028E4C0; // type:function size:0x2C
updateSecondsTimer__18dLytMiniGameTime_cFv = .text:0x8028E4F0; // type:function size:0x124
saveSecondsTimer__18dLytMiniGameTime_cFv = .text:0x8028E620; // type:function size:0xC
setBestTime__18dLytMiniGameTime_cFl = .text:0x8028E630; // type:function size:0x194
setShowBestTime__18dLytMiniGameTime_cFb = .text:0x8028E7D0; // type:function size:0x98
resetIn__18dLytMiniGameTime_cFv = .text:0x8028E870; // type:function size:0x80
resetOut__18dLytMiniGameTime_cFv = .text:0x8028E8F0; // type:function size:0x80
resetAlphaIn__18dLytMiniGameTime_cFv = .text:0x8028E970; // type:function size:0x80
resetAlphaOut__18dLytMiniGameTime_cFv = .text:0x8028E9F0; // type:function size:0x80
resetDigits__18dLytMiniGameTime_cFv = .text:0x8028EA70; // type:function size:0x13C
resetPosition__18dLytMiniGameTime_cFv = .text:0x8028EBB0; // type:function size:0x60
resetShowBestTime__18dLytMiniGameTime_cFv = .text:0x8028EC10; // type:function size:0x8
resetFinish__18dLytMiniGameTime_cFv = .text:0x8028EC20; // type:function size:0x114
resetLoop__18dLytMiniGameTime_cFv = .text:0x8028ED40; // type:function size:0x74
initSignChange__18dLytMiniGameTime_cFv = .text:0x8028EDC0; // type:function size:0x64
stopIn__18dLytMiniGameTime_cFv = .text:0x8028EE30; // type:function size:0xC
stopOut__18dLytMiniGameTime_cFv = .text:0x8028EE40; // type:function size:0xC
stopAlphaIn__18dLytMiniGameTime_cFv = .text:0x8028EE50; // type:function size:0xC
stopAlphaOut__18dLytMiniGameTime_cFv = .text:0x8028EE60; // type:function size:0xC
stopFinish__18dLytMiniGameTime_cFv = .text:0x8028EE70; // type:function size:0x64
stopLoop__18dLytMiniGameTime_cFv = .text:0x8028EEE0; // type:function size:0xC
isInEndReached__18dLytMiniGameTime_cCFv = .text:0x8028EEF0; // type:function size:0x44
isOutEndReached__18dLytMiniGameTime_cCFv = .text:0x8028EF40; // type:function size:0x44
isAlphaInEndReached__18dLytMiniGameTime_cCFv = .text:0x8028EF90; // type:function size:0x44
isAlphaOutEndReached__18dLytMiniGameTime_cCFv = .text:0x8028EFE0; // type:function size:0x44
isFinishEndReached__18dLytMiniGameTime_cCFv = .text:0x8028F030; // type:function size:0x44
setHighestDigitIndex__18dLytMiniGameTime_cFUc = .text:0x8028F080; // type:function size:0x11C
setSignChange__18dLytMiniGameTime_cFUl = .text:0x8028F1A0; // type:function size:0x94
setTimePosition__18dLytMiniGameTime_cFb = .text:0x8028F240; // type:function size:0x80
setBestHasSixDigits__18dLytMiniGameTime_cFb = .text:0x8028F2C0; // type:function size:0xE8
setDigit__18dLytMiniGameTime_cFll = .text:0x8028F3B0; // type:function size:0xB4
setDigitBest__18dLytMiniGameTime_cFll = .text:0x8028F470; // type:function size:0xB4
build__19dLytMiniGameStart_cFPQ23d2d10ResAccIf_c = .text:0x8028F530; // type:function size:0xBC
remove__19dLytMiniGameStart_cFv = .text:0x8028F5F0; // type:function size:0x74
execute__19dLytMiniGameStart_cFv = .text:0x8028F670; // type:function size:0x1BC
draw__19dLytMiniGameStart_cFv = .text:0x8028F830; // type:function size:0x48
init__19dLytMiniGameStart_cFv = .text:0x8028F880; // type:function size:0x10C
startCountdown__19dLytMiniGameStart_cFv = .text:0x8028F990; // type:function size:0x4C
startCountdown120__19dLytMiniGameStart_cFv = .text:0x8028F9E0; // type:function size:0x60
startFinish__19dLytMiniGameStart_cFv = .text:0x8028FA40; // type:function size:0x4C
startTimeup__19dLytMiniGameStart_cFv = .text:0x8028FA90; // type:function size:0x4C
isCountdownEndReached__19dLytMiniGameStart_cCFv = .text:0x8028FAE0; // type:function size:0x58
isFinishEndReached__19dLytMiniGameStart_cCFv = .text:0x8028FB40; // type:function size:0x58
isTimeupEndReached__19dLytMiniGameStart_cCFv = .text:0x8028FBA0; // type:function size:0x58
resetPlayedSounds__19dLytMiniGameStart_cFv = .text:0x8028FC00; // type:function size:0x20
resetCountdown__19dLytMiniGameStart_cFv = .text:0x8028FC20; // type:function size:0x54
resetFinish__19dLytMiniGameStart_cFv = .text:0x8028FC80; // type:function size:0x54
resetStart__19dLytMiniGameStart_cFv = .text:0x8028FCE0; // type:function size:0x54
stopCountdown__19dLytMiniGameStart_cFv = .text:0x8028FD40; // type:function size:0xC
stopFinish__19dLytMiniGameStart_cFv = .text:0x8028FD50; // type:function size:0xC
stopTimeup__19dLytMiniGameStart_cFv = .text:0x8028FD60; // type:function size:0xC
checkCountdown3__19dLytMiniGameStart_cFv = .text:0x8028FD70; // type:function size:0x48
checkCountdown2__19dLytMiniGameStart_cFv = .text:0x8028FDC0; // type:function size:0x48
checkCountdown1__19dLytMiniGameStart_cFv = .text:0x8028FE10; // type:function size:0x48
checkStart__19dLytMiniGameStart_cFv = .text:0x8028FE60; // type:function size:0x48
checkFinish__19dLytMiniGameStart_cFv = .text:0x8028FEB0; // type:function size:0x48
checkTimeup__19dLytMiniGameStart_cFv = .text:0x8028FF00; // type:function size:0x48
build__19dLytMiniGameScore_cFPQ23d2d10ResAccIf_c = .text:0x8028FF50; // type:function size:0x168
remove__19dLytMiniGameScore_cFv = .text:0x802900C0; // type:function size:0x74
execute__19dLytMiniGameScore_cFv = .text:0x80290140; // type:function size:0x2EC
draw__19dLytMiniGameScore_cFv = .text:0x80290430; // type:function size:0x48
init__19dLytMiniGameScore_cFv = .text:0x80290480; // type:function size:0xF84
fn_80291410__19dLytMiniGameScore_cFv = .text:0x80291410; // type:function size:0x1A0
startOut__19dLytMiniGameScore_cFv = .text:0x802915B0; // type:function size:0x84
startIn__19dLytMiniGameScore_cFv = .text:0x80291640; // type:function size:0x100
startOutTemp__19dLytMiniGameScore_cFv = .text:0x80291740; // type:function size:0xEC
startAlphaIn__19dLytMiniGameScore_cFv = .text:0x80291830; // type:function size:0xD0
startAlphaOut__19dLytMiniGameScore_cFv = .text:0x80291900; // type:function size:0x60
startGetScore__19dLytMiniGameScore_cFv = .text:0x80291960; // type:function size:0xD0
startFinish__19dLytMiniGameScore_cFv = .text:0x80291A30; // type:function size:0x110
startLoop__19dLytMiniGameScore_cFv = .text:0x80291B40; // type:function size:0x54
setScore__19dLytMiniGameScore_cFl = .text:0x80291BA0; // type:function size:0x14
fn_80291BC0__19dLytMiniGameScore_cFv = .text:0x80291BC0; // type:function size:0x178
fn_80291D40__19dLytMiniGameScore_cFl = .text:0x80291D40; // type:function size:0x10C
hasIncreasedScore__19dLytMiniGameScore_cCFv = .text:0x80291E50; // type:function size:0x34
hasDecreasedScore__19dLytMiniGameScore_cCFv = .text:0x80291E90; // type:function size:0x34
fn_80291ED0__19dLytMiniGameScore_cFl = .text:0x80291ED0; // type:function size:0x14
fn_80291EF0__19dLytMiniGameScore_cFv = .text:0x80291EF0; // type:function size:0x138
increaseScore__19dLytMiniGameScore_cFl = .text:0x80292030; // type:function size:0xC
fn_80292040__19dLytMiniGameScore_cFv = .text:0x80292040; // type:function size:0x68
calcNumDigits__19dLytMiniGameScore_cFv = .text:0x802920B0; // type:function size:0x54
realizePosition__19dLytMiniGameScore_cFv = .text:0x80292110; // type:function size:0x8C
setDigit__19dLytMiniGameScore_cFll = .text:0x802921A0; // type:function size:0x9C
saveScore__19dLytMiniGameScore_cFv = .text:0x80292240; // type:function size:0xC
resetIn__19dLytMiniGameScore_cFv = .text:0x80292250; // type:function size:0x98
resetDigits__19dLytMiniGameScore_cFv = .text:0x802922F0; // type:function size:0x90
resetOut__19dLytMiniGameScore_cFv = .text:0x80292380; // type:function size:0x80
resetAlphaIn__19dLytMiniGameScore_cFv = .text:0x80292400; // type:function size:0x80
resetAlphaOut__19dLytMiniGameScore_cFv = .text:0x80292480; // type:function size:0x80
resetSetPosition__19dLytMiniGameScore_cFv = .text:0x80292500; // type:function size:0x90
resetRupeeChange__19dLytMiniGameScore_cFv = .text:0x80292590; // type:function size:0x80
resetGetScore__19dLytMiniGameScore_cFv = .text:0x80292610; // type:function size:0x100
resetFinish__19dLytMiniGameScore_cFv = .text:0x80292710; // type:function size:0x170
resetLoop__19dLytMiniGameScore_cFv = .text:0x80292880; // type:function size:0x8C
stopIn__19dLytMiniGameScore_cFv = .text:0x80292910; // type:function size:0xC
stopOut__19dLytMiniGameScore_cFv = .text:0x80292920; // type:function size:0xC
stopAlphaIn__19dLytMiniGameScore_cFv = .text:0x80292930; // type:function size:0xC
stopAlphaOut__19dLytMiniGameScore_cFv = .text:0x80292940; // type:function size:0xC
stopGetScore__19dLytMiniGameScore_cFv = .text:0x80292950; // type:function size:0x64
stopFinish__19dLytMiniGameScore_cFv = .text:0x802929C0; // type:function size:0x7C
stopLoop__19dLytMiniGameScore_cFv = .text:0x80292A40; // type:function size:0xC
isInEndReached__19dLytMiniGameScore_cCFv = .text:0x80292A50; // type:function size:0x44
isOutEndReached__19dLytMiniGameScore_cCFv = .text:0x80292AA0; // type:function size:0x44
isAlphaInEndReached__19dLytMiniGameScore_cCFv = .text:0x80292AF0; // type:function size:0x44
isAlphaOutEndReached__19dLytMiniGameScore_cCFv = .text:0x80292B40; // type:function size:0x44
isGetScoreEndReached__19dLytMiniGameScore_cCFv = .text:0x80292B90; // type:function size:0x44
isFinishEndReached__19dLytMiniGameScore_cCFv = .text:0x80292BE0; // type:function size:0x44
fn_80292C30__19dLytMiniGameScore_cFv = .text:0x80292C30; // type:function size:0x764
loadTextVariant__19dLytMiniGameScore_cFl = .text:0x802933A0; // type:function size:0x6C
fn_80293410__19dLytMiniGameScore_cFv = .text:0x80293410; // type:function size:0x34
fn_80293450__19dLytMiniGameScore_cFl = .text:0x80293450; // type:function size:0x2A0
build__21dLytMiniGameScoreSd_cFPQ23d2d10ResAccIf_c = .text:0x802936F0; // type:function size:0xC8
remove__21dLytMiniGameScoreSd_cFv = .text:0x802937C0; // type:function size:0x74
execute__21dLytMiniGameScoreSd_cFv = .text:0x80293840; // type:function size:0xF0
draw__21dLytMiniGameScoreSd_cFv = .text:0x80293930; // type:function size:0x48
init__21dLytMiniGameScoreSd_cFv = .text:0x80293980; // type:function size:0xA8
setScoreUp__21dLytMiniGameScoreSd_cFl = .text:0x80293A30; // type:function size:0x60
setScoreDown__21dLytMiniGameScoreSd_cFl = .text:0x80293A90; // type:function size:0x60
setScoreInternal__21dLytMiniGameScoreSd_cFl = .text:0x80293AF0; // type:function size:0xC0
setHighestDigitIndex__21dLytMiniGameScoreSd_cFl = .text:0x80293BB0; // type:function size:0xA8
setDigit__21dLytMiniGameScoreSd_cFll = .text:0x80293C60; // type:function size:0xE0
resetScoreUp__21dLytMiniGameScoreSd_cFv = .text:0x80293D40; // type:function size:0x80
resetScoreDown__21dLytMiniGameScoreSd_cFv = .text:0x80293DC0; // type:function size:0x80
resetDigits__21dLytMiniGameScoreSd_cFv = .text:0x80293E40; // type:function size:0x88
resetPosition__21dLytMiniGameScoreSd_cFv = .text:0x80293ED0; // type:function size:0x74
startScoreUp__21dLytMiniGameScoreSd_cFv = .text:0x80293F50; // type:function size:0x54
startScoreDown__21dLytMiniGameScoreSd_cFv = .text:0x80293FB0; // type:function size:0x54
stopScoreUp__21dLytMiniGameScoreSd_cFv = .text:0x80294010; // type:function size:0xC
stopScoreDown__21dLytMiniGameScoreSd_cFv = .text:0x80294020; // type:function size:0xC
isScoreUpEndReached__21dLytMiniGameScoreSd_cCFv = .text:0x80294030; // type:function size:0x44
isScoreDownEndReached__21dLytMiniGameScoreSd_cCFv = .text:0x80294080; // type:function size:0x44
dLytMiniGame_c_classInit__Fv = .text:0x802940D0; // type:function size:0x380
__dt__19dLytMiniGameScore_cFv = .text:0x80294450; // type:function size:0x74
__dt__21dLytMiniGameScoreSd_cFv = .text:0x802944D0; // type:function size:0x74
__dt__19dLytMiniGameStart_cFv = .text:0x80294550; // type:function size:0x74
__dt__18dLytMiniGameTime_cFv = .text:0x802945D0; // type:function size:0x74
__dt__18dLytMiniGameBugs_cFv = .text:0x80294650; // type:function size:0x74
__ct__26dLytMiniGamePumpkinParts_cFv = .text:0x802946D0; // type:function size:0x6C
__dt__26dLytMiniGamePumpkinParts_cFv = .text:0x80294740; // type:function size:0x74
__dt__21dLytMiniGamePumpkin_cFv = .text:0x802947C0; // type:function size:0x68
create__14dLytMiniGame_cFv = .text:0x80294830; // type:function size:0xA94
doDelete__14dLytMiniGame_cFv = .text:0x802952D0; // type:function size:0x31C
execute__14dLytMiniGame_cFv = .text:0x802955F0; // type:function size:0xD4
draw__14dLytMiniGame_cFv = .text:0x802956D0; // type:function size:0x6C
scoreRelatedInit__14dLytMiniGame_cFv = .text:0x80295740; // type:function size:0x8C
endScoreResult__14dLytMiniGame_cFv = .text:0x802957D0; // type:function size:0x78
setDisplayedPoints__14dLytMiniGame_cFl = .text:0x80295850; // type:function size:0xA8
fn_80295900 = .text:0x80295900; // type:function size:0x38
fn_80295940__14dLytMiniGame_cFv = .text:0x80295940; // type:function size:0x38
fn_80295980__14dLytMiniGame_cFv = .text:0x80295980; // type:function size:0x98
fn_80295A20 = .text:0x80295A20; // type:function size:0x90
fn_80295AB0__14dLytMiniGame_cFv = .text:0x80295AB0; // type:function size:0x20
fn_80295AD0__14dLytMiniGame_cFv = .text:0x80295AD0; // type:function size:0x20
fn_80295AF0 = .text:0x80295AF0; // type:function size:0x2C
fn_80295B20 = .text:0x80295B20; // type:function size:0x8
fn_80295B30 = .text:0x80295B30; // type:function size:0x8
timeRelatedExecute__14dLytMiniGame_cFv = .text:0x80295B40; // type:function size:0xA8
timeRelated__14dLytMiniGame_cFv = .text:0x80295BF0; // type:function size:0x24
fn_80295900__14dLytMiniGame_cFl = .text:0x80295900; // type:function size:0x38
startCountdown__14dLytMiniGame_cFv = .text:0x80295940; // type:function size:0x38
startFinish__14dLytMiniGame_cFv = .text:0x80295980; // type:function size:0x98
startTimeup__14dLytMiniGame_cFv = .text:0x80295A20; // type:function size:0x90
isStartCountdownDone__14dLytMiniGame_cFv = .text:0x80295AB0; // type:function size:0x20
isFinishAnimDone__14dLytMiniGame_cFv = .text:0x80295AD0; // type:function size:0x20
isTimeupAnimDone__14dLytMiniGame_cFv = .text:0x80295AF0; // type:function size:0x2C
setScoreUp__14dLytMiniGame_cFl = .text:0x80295B20; // type:function size:0x8
setScoreDown__14dLytMiniGame_cFl = .text:0x80295B30; // type:function size:0x8
timeRelatedInit__14dLytMiniGame_cFv = .text:0x80295B40; // type:function size:0xA8
endTimeResult__14dLytMiniGame_cFv = .text:0x80295BF0; // type:function size:0x24
setDisplayedTime__14dLytMiniGame_cFl = .text:0x80295C20; // type:function size:0x4C
setHighscore__14dLytMiniGame_cFl = .text:0x80295C70; // type:function size:0x38
fn_80295CB0__14dLytMiniGame_cFb = .text:0x80295CB0; // type:function size:0x38
fn_80295CF0 = .text:0x80295CF0; // type:function size:0x8
fn_80295D00 = .text:0x80295D00; // type:function size:0xC
fn_80295D10 = .text:0x80295D10; // type:function size:0xC
fn_80295D20 = .text:0x80295D20; // type:function size:0x8
fn_80295D30 = .text:0x80295D30; // type:function size:0x8
fn_80295D40 = .text:0x80295D40; // type:function size:0x8
fn_80295D50 = .text:0x80295D50; // type:function size:0x8
fn_80295D60 = .text:0x80295D60; // type:function size:0x8
fn_80295D70 = .text:0x80295D70; // type:function size:0x8
fn_80295D80 = .text:0x80295D80; // type:function size:0x4
fn_80295D90 = .text:0x80295D90; // type:function size:0x4
fn_80295DA0 = .text:0x80295DA0; // type:function size:0x8
fn_80295DB0 = .text:0x80295DB0; // type:function size:0x60
fn_80295E10 = .text:0x80295E10; // type:function size:0x34
fn_80295E50 = .text:0x80295E50; // type:function size:0x54
fn_80295EB0 = .text:0x80295EB0; // type:function size:0x54
fn_80295F10 = .text:0x80295F10; // type:function size:0x80
fn_80295F90 = .text:0x80295F90; // type:function size:0x70
fn_80296000 = .text:0x80296000; // type:function size:0x6C
fn_80296070 = .text:0x80296070; // type:function size:0xE0
fn_80296150 = .text:0x80296150; // type:function size:0xB8
fn_80296210 = .text:0x80296210; // type:function size:0x88
fn_802962A0 = .text:0x802962A0; // type:function size:0x88
fn_80296330 = .text:0x80296330; // type:function size:0xA4
fn_802963E0 = .text:0x802963E0; // type:function size:0x98
fn_80296480 = .text:0x80296480; // type:function size:0x98
fn_80296520 = .text:0x80296520; // type:function size:0x58
fn_80296580 = .text:0x80296580; // type:function size:0x130
fn_802966B0 = .text:0x802966B0; // type:function size:0x30
fn_802966E0 = .text:0x802966E0; // type:function size:0x40
decrementLayoutArcRefCount = .text:0x80296720; // type:function size:0x4C
fn_80296770 = .text:0x80296770; // type:function size:0x270
setBestTime__14dLytMiniGame_cFl = .text:0x80295C70; // type:function size:0x38
setShowBestTime__14dLytMiniGame_cFb = .text:0x80295CB0; // type:function size:0x38
startBugsAllIconsIn__14dLytMiniGame_cFv = .text:0x80295CF0; // type:function size:0x8
set5Bugs__14dLytMiniGame_cFv = .text:0x80295D00; // type:function size:0xC
set10Bugs__14dLytMiniGame_cFv = .text:0x80295D10; // type:function size:0xC
reInitBugs__14dLytMiniGame_cFv = .text:0x80295D20; // type:function size:0x8
setBug__14dLytMiniGame_cFll = .text:0x80295D30; // type:function size:0x8
collectBug__14dLytMiniGame_cFl = .text:0x80295D40; // type:function size:0x8
startBugsFlash__14dLytMiniGame_cFv = .text:0x80295D50; // type:function size:0x8
isBugIconOnEndReached__14dLytMiniGame_cCFl = .text:0x80295D60; // type:function size:0x8
isBugCollected__14dLytMiniGame_cCFl = .text:0x80295D70; // type:function size:0x8
fn_80295D80__14dLytMiniGame_cFv = .text:0x80295D80; // type:function size:0x4
fn_80295D90__14dLytMiniGame_cFl = .text:0x80295D90; // type:function size:0x4
getPumpkin__14dLytMiniGame_cFRC7mVec3_clb = .text:0x80295DA0; // type:function size:0x8
isDisplayingResult__14dLytMiniGame_cFv = .text:0x80295DB0; // type:function size:0x60
isInEvent__14dLytMiniGame_cCFv = .text:0x80295E10; // type:function size:0x34
isPopupOpen__14dLytMiniGame_cCFv = .text:0x80295E50; // type:function size:0x54
isPopupOpenExceptHelp__14dLytMiniGame_cCFv = .text:0x80295EB0; // type:function size:0x54
isFadingOut__14dLytMiniGame_cCFv = .text:0x80295F10; // type:function size:0x80
executeBambooCutting__14dLytMiniGame_cFv = .text:0x80295F90; // type:function size:0x70
executeFunFunIsland__14dLytMiniGame_cFv = .text:0x80296000; // type:function size:0x6C
executeThrillDigger__14dLytMiniGame_cFv = .text:0x80296070; // type:function size:0xE0
executeInsectCapture__14dLytMiniGame_cFv = .text:0x80296150; // type:function size:0xB8
executeSpiralChargeTutorial__14dLytMiniGame_cFv = .text:0x80296210; // type:function size:0x88
executePumpkinArchery__14dLytMiniGame_cFv = .text:0x802962A0; // type:function size:0x88
executeRollercoaster__14dLytMiniGame_cFv = .text:0x80296330; // type:function size:0xA4
executeBossRush__14dLytMiniGame_cFv = .text:0x802963E0; // type:function size:0x98
executeTrialTimeAttack__14dLytMiniGame_cFv = .text:0x80296480; // type:function size:0x98
init__14dLytMiniGame_cFv = .text:0x80296520; // type:function size:0x58
loadData__14dLytMiniGame_cFPCcl = .text:0x80296580; // type:function size:0x130
isLoading__14dLytMiniGame_cCFPCc = .text:0x802966B0; // type:function size:0x30
attachLoadedData__14dLytMiniGame_cFPCcRQ23d2d10ResAccIf_c = .text:0x802966E0; // type:function size:0x40
unloadData__14dLytMiniGame_cFPCc = .text:0x80296720; // type:function size:0x4C
__dt__14dLytMiniGame_cFv = .text:0x80296770; // type:function size:0x270
LytMeterSuiryuScoreBase__stateNoneEnter = .text:0x802969E0; // type:function size:0x4
LytMeterSuiryuScoreBase__stateNoneUpdate = .text:0x802969F0; // type:function size:0x4
LytMeterSuiryuScoreBase__stateNoneLeave = .text:0x80296A00; // type:function size:0x4
@@ -20849,13 +20849,13 @@ holdFinisherPromptSound__20dSndSmallEffectMgr_cFPCQ34nw4r4math4VEC3 = .text:0x80
playDowsingPingSound__20dSndSmallEffectMgr_cFff = .text:0x8037E860; // type:function size:0x148
holdDowsingNearestSound__20dSndSmallEffectMgr_cFv = .text:0x8037E9B0; // type:function size:0xC
playSirenCountdownSound__20dSndSmallEffectMgr_cFl = .text:0x8037E9C0; // type:function size:0x90
playMinigameCountdownSound__20dSndSmallEffectMgr_cFv = .text:0x8037EA50; // type:function size:0x8
playMinigameCountdownSound__20dSndSmallEffectMgr_cFl = .text:0x8037EA50; // type:function size:0x8
playMinigameTimeUpSound__20dSndSmallEffectMgr_cFl = .text:0x8037EA60; // type:function size:0x14
playMinigameStartSound__20dSndSmallEffectMgr_cFv = .text:0x8037EA80; // type:function size:0x8
playMinigameFinishSound__20dSndSmallEffectMgr_cFv = .text:0x8037EA90; // type:function size:0x40
playMinigameFinishWhistleSound__20dSndSmallEffectMgr_cFv = .text:0x8037EAD0; // type:function size:0x40
playMinigameScoreUpSound__20dSndSmallEffectMgr_cFl = .text:0x8037EB10; // type:function size:0x11C
playMinigameScoreDownSound__20dSndSmallEffectMgr_cFv = .text:0x8037EC30; // type:function size:0x8
playMinigameScoreDownSound__20dSndSmallEffectMgr_cFl = .text:0x8037EC30; // type:function size:0x8
playMinigameMusasabiSound__20dSndSmallEffectMgr_cFl = .text:0x8037EC40; // type:function size:0x3C
playSkbSound__20dSndSmallEffectMgr_cFUl = .text:0x8037EC80; // type:function size:0xB0
playDemoSound__20dSndSmallEffectMgr_cFUlPQ34nw4r3snd11SoundHandle = .text:0x8037ED30; // type:function size:0x68
@@ -36891,14 +36891,14 @@ jumptable_805399B4 = .data:0x805399B4; // type:object size:0x44 scope:local
jumptable_805399F8 = .data:0x805399F8; // type:object size:0x38 scope:local
jumptable_80539A30 = .data:0x80539A30; // type:object size:0x38 scope:local
jumptable_80539A68 = .data:0x80539A68; // type:object size:0x34 scope:local
LytMiniGame__vtable = .data:0x80539A9C; // type:object size:0x4C
lbl_80539AE8 = .data:0x80539AE8; // type:object size:0xC
lbl_80539AF4 = .data:0x80539AF4; // type:object size:0xC
lbl_80539B00 = .data:0x80539B00; // type:object size:0xC
lbl_80539B0C = .data:0x80539B0C; // type:object size:0xC
lbl_80539B18 = .data:0x80539B18; // type:object size:0xC
lbl_80539B24 = .data:0x80539B24; // type:object size:0xC
lbl_80539B30 = .data:0x80539B30; // type:object size:0x38
__vt__14dLytMiniGame_c = .data:0x80539A9C; // type:object size:0x4C
__vt__21dLytMiniGameScoreSd_c = .data:0x80539AE8; // type:object size:0xC
__vt__19dLytMiniGameScore_c = .data:0x80539AF4; // type:object size:0xC
__vt__19dLytMiniGameStart_c = .data:0x80539B00; // type:object size:0xC
__vt__18dLytMiniGameTime_c = .data:0x80539B0C; // type:object size:0xC
__vt__18dLytMiniGameBugs_c = .data:0x80539B18; // type:object size:0xC
__vt__21dLytMiniGamePumpkin_c = .data:0x80539B24; // type:object size:0xC
__vt__26dLytMiniGamePumpkinParts_c = .data:0x80539B30; // type:object size:0xC
lbl_80539B68 = .data:0x80539B68; // type:object size:0x1C data:string
lbl_80539B84 = .data:0x80539B84; // type:object size:0xE data:string
lbl_80539B94 = .data:0x80539B94; // type:object size:0x23 data:string
@@ -42447,12 +42447,12 @@ lbl_80575959 = .sbss:0x80575959; // type:object size:0x1 data:byte
lbl_8057595C = .sbss:0x8057595C; // type:object size:0x4 data:4byte
lbl_80575960 = .sbss:0x80575960; // type:object size:0x8 data:4byte
lbl_80575968 = .sbss:0x80575968; // type:object size:0x8 data:4byte
lbl_80575970 = .sbss:0x80575970; // type:object size:0x4 data:4byte
lbl_80575974 = .sbss:0x80575974; // type:object size:0x4 data:4byte
lbl_80575978 = .sbss:0x80575978; // type:object size:0x4 data:4byte
lbl_8057597C = .sbss:0x8057597C; // type:object size:0x4 data:4byte
lbl_80575980 = .sbss:0x80575980; // type:object size:0x4 data:4byte
lbl_80575984 = .sbss:0x80575984; // type:object size:0x4 data:4byte
sInstance__21dLytMiniGamePumpkin_c = .sbss:0x80575970; // type:object size:0x4 data:4byte
sInstance__18dLytMiniGameBugs_c = .sbss:0x80575974; // type:object size:0x4 data:4byte
sInstance__18dLytMiniGameTime_c = .sbss:0x80575978; // type:object size:0x4 data:4byte
sInstance__19dLytMiniGameStart_c = .sbss:0x8057597C; // type:object size:0x4 data:4byte
sInstance__19dLytMiniGameScore_c = .sbss:0x80575980; // type:object size:0x4 data:4byte
sInstance__21dLytMiniGameScoreSd_c = .sbss:0x80575984; // type:object size:0x4 data:4byte
sInstance__14dLytMiniGame_c = .sbss:0x80575988; // type:object size:0x8 data:4byte
lbl_80575990 = .sbss:0x80575990; // type:object size:0x8 data:4byte
lbl_80575998 = .sbss:0x80575998; // type:object size:0x8 data:4byte
+1
View File
@@ -53,6 +53,7 @@ public:
return checkFlag(flag);
}
static void setFlag(s32 id);
static bool checkTreasureTempCollect(u16 itemId);
void setItemPosition(const mVec3_c &);
void getItemFromBWheelItem();
+22 -8
View File
@@ -202,6 +202,20 @@ protected:
};
class dMessage_c : public dBase_c {
public:
enum Minigame_e {
MG_THRILL_DIGGER = 0,
MG_BAMBOO_CUTTING,
MG_INSECT_CAPTURE,
MG_ROLLERCOASTER,
MG_PUMPKIN_ARCHERY,
MG_FUN_FUN_ISLAND,
MG_TRIAL_TIME_ATTACK,
MG_BOSS_RUSH,
MG_NONE,
};
public:
dMessage_c();
virtual ~dMessage_c() {
@@ -276,23 +290,23 @@ public:
}
void setMiniGameVariant(s32 v) {
mMiniGameVariant = v;
mMinigameVariant = v;
}
s32 getMiniGameVariant() const {
return mMiniGameVariant;
return mMinigameVariant;
}
void setField_0x344(s32 v) {
field_0x344 = v;
}
u8 getField_0x340() const {
return field_0x340;
bool hasSetMinigameResult() const {
return mHasSetMinigameResult;
}
void setField_0x340(u8 v) {
field_0x340 = v;
void setHasSetMinigameResult(bool v) {
mHasSetMinigameResult = v;
}
static bool isValidTextLabel(const char *name);
@@ -376,8 +390,8 @@ private:
/* 0x334 */ u32 mMinigameResultPoints;
/* 0x338 */ u32 mMinigameTime;
/* 0x33C */ s32 mMiniGameVariant;
/* 0x340 */ u8 field_0x340;
/* 0x33C */ s32 mMinigameVariant;
/* 0x340 */ bool mHasSetMinigameResult;
/* 0x344 */ s32 field_0x344;
};
+9
View File
@@ -11,6 +11,7 @@
#include "f/f_profile_name.h"
#include "m/m2d.h"
#include "m/m_angle.h"
#include "m/m_fader_base.h"
#include "m/m_vec.h"
#include "s/s_FPhase.h"
#include "s/s_State.hpp"
@@ -210,6 +211,14 @@ public:
return mFader.isSettled();
}
bool isFadingOut() const {
return mFader.isStatus(mFaderBase_c::FADING_OUT);
}
bool isFadingIn() const {
return mFader.isStatus(mFaderBase_c::FADING_IN);
}
f32 targetingScreenFn_801BBEC0() const {
return mScreen1.fn_801BBEC0();
}
+5
View File
@@ -11,6 +11,7 @@
#include "egg/gfx/eggScreen.h"
#include "m/m_allocator.h"
#include "m/m_dvd.h"
#include "m/m_fader_base.h"
#include "nw4r/g3d/g3d_camera.h"
#include "s/s_FPhase.h"
#include "s/s_State.hpp"
@@ -176,6 +177,10 @@ public:
return mFader.isSettled();
}
bool isFadingOut() const {
return mFader.isStatus(mFaderBase_c::FADING_OUT);
}
bool isInLastBoss() const {
return mIsInLastBoss;
}
+6
View File
@@ -5,6 +5,7 @@
#include "m/m2d.h"
#include "nw4r/lyt/lyt_pane.h"
#include "nw4r/lyt/lyt_picture.h"
#include "nw4r/lyt/lyt_types.h"
class dTextBox_c;
class dWindow_c;
@@ -260,6 +261,11 @@ struct AnmGroupBase_c {
return (mFlags & ANMGROUP_FLAG_ENABLE) != 0;
}
// Not sure
inline u8 isEnabled_() const {
return (mFlags & ANMGROUP_FLAG_ENABLE);
}
inline bool isStop() const {
return mpFrameCtrl->isStop();
}
+634 -20
View File
@@ -2,35 +2,587 @@
#define D_LYT_MINI_GAME_H
#include "common.h"
#include "d/d_base.h"
#include "d/lyt/d2d.h"
#include "d/lyt/d_textbox.h"
#include "m/m_vec.h"
#include "nw4r/lyt/lyt_pane.h"
class dLytMiniGame_c {
/** 2D UI - Mini Game - Pumpkin score popup */
class dLytMiniGamePumpkinParts_c {
public:
dLytMiniGamePumpkinParts_c() : field_0x154(false), mHasPlayedDoubleScoreSound(false) {}
virtual ~dLytMiniGamePumpkinParts_c() {}
bool build(d2d::ResAccIf_c *resAcc);
bool remove();
bool execute();
bool draw();
void init();
void setPumpkinPos(const mVec3_c &pos);
void getPoint(u8 combo, bool doubleScore);
bool isActive() const;
private:
void resetPattern();
void setPattern(s32 pat);
void startGetPoint();
void startDoubleScore();
void stopDoubleScore();
void resetGetPoint();
void resetDoubleScore();
/* 0x004 */ d2d::LytBase_c mLyt;
/* 0x094 */ d2d::AnmGroup_c mAnm[3];
/* 0x154 */ bool field_0x154;
/* 0x158 */ mVec3_c mPumpkinWorldPos;
/* 0x164 */ mVec3_c mPumpkinScreenPos;
/* 0x170 */ mVec2_c field_0x170;
/* 0x178 */ bool mHasPlayedDoubleScoreSound;
};
/** 2D UI - Mini Game - Pumpkin score popups */
class dLytMiniGamePumpkin_c {
public:
dLytMiniGamePumpkin_c() : field_0x478(10), mCombo(0) {}
virtual ~dLytMiniGamePumpkin_c() {}
bool build(d2d::ResAccIf_c *resAcc);
bool remove();
bool execute();
bool draw();
void init();
void getPoint(const mVec3_c &pumpkinPos, s32 unk, bool doubleScore);
void calcCombo(s32 unk);
private:
static dLytMiniGamePumpkin_c *sInstance;
/* 0x004 */ dLytMiniGamePumpkinParts_c mParts[3];
/* 0x478 */ s32 field_0x478;
/* 0x47C */ s32 mCombo;
};
/** 2D UI - Mini Game - Bug Heaven */
class dLytMiniGameBugs_c {
public:
dLytMiniGameBugs_c()
: mBugIconsInEnded(false),
mInTriggered(false),
mBugIconsFlashStarted(false),
mBugsNumLevel(1),
mBugsNum(10),
field_0xB4B(false),
field_0xB4C(true) {}
virtual ~dLytMiniGameBugs_c() {}
bool build(d2d::ResAccIf_c *resAcc);
bool remove();
bool execute();
bool draw();
void init();
enum BugIndex_e {
DEKU_HORNET,
BLESSED_BUTTERFLY,
GERUDO_DRAGONFLY,
STARRY_FIREFLY,
WOODLAND_RHINO_BEETLE,
VOLCANIC_LADYBUG,
SAND_CICADA,
SKY_STAG_BEETLE,
FARON_GRASSHOPPER,
SKYLOFT_MANTIS,
LANAYRU_ANT,
ELDIN_ROLLER,
};
void startAllIconsIn();
void setBugsNumLevel(u8 level) {
mBugsNumLevel = level;
}
void setBug(s32 slot, s32 bugIndex);
void collectBug(s32 slot);
void startBugsFlash();
bool isSlotIconOnEndReached(s32 slot) const;
bool isSlotBugCollected(s32 slot) const;
void startOut();
void startIn();
void startOutTemp();
private:
bool isSlotIconOnEnabled(s32 slot) const;
void resetBugIconsIn();
void resetIn();
void resetOut();
void resetBugIconsOn();
void resetBugIconsTex();
void resetBugIconsFlash();
void stopBugIconsIn();
void stopIn();
void stopOut();
void stopBugIconOn(s32);
void stopBugIconsFlash();
bool isIconInEndReached() const;
bool isInEndReached() const;
bool isOutEndReached() const;
bool isSlotOnEndReached(s32 slot) const;
bool isBug0Flashing() const;
bool areAllBugIconsOn() const;
static dLytMiniGameBugs_c *sInstance;
/* 0x004 */ d2d::LytBase_c mLyt;
/* 0x094 */ d2d::AnmGroup_c mAnm[42];
/* 0xB14 */ s32 mBugItemIds[10];
/* 0xB3C */ bool mBugIconsInEnded;
/* 0xB3D */ bool mInTriggered;
/* 0xB3E */ bool mBugCollected[10];
/* 0xB48 */ bool mBugIconsFlashStarted;
/* 0xB49 */ u8 mBugsNumLevel; ///< 0 = 5 bugs, 1 = 10 bugs
/* 0xB4A */ u8 mBugsNum;
/* 0xB4B */ bool field_0xB4B;
/* 0xB4C */ bool field_0xB4C;
};
/** 2D UI - Mini Game - Time */
class dLytMiniGameTime_c {
public:
enum Variant_e {
TIME_VARIANT_INSECT_CAPTURE,
TIME_VARIANT_SPIRAL_CHARGE_TUTORIAL,
TIME_VARIANT_PUMPKIN_ARCHERY,
TIME_VARIANT_ROLLERCOASTER,
TIME_VARIANT_BOSS_RUSH,
TIME_VARIANT_TRIAL_TIME_ATTACK,
};
public:
dLytMiniGameTime_c()
: field_0x7D4(0),
mCurrentTimerValueMilliSeconds(0),
mCurrentTimerValueSeconds(0),
mLastTimerValueSeconds(0),
mTimeFormat(0),
mHighestDigitIndex(0),
field_0x7EC(false),
field_0x7ED(false),
mResultMode(false),
mVariant(0),
field_0x7F4(0),
mIsVisible(false) {}
virtual ~dLytMiniGameTime_c() {}
bool build(d2d::ResAccIf_c *resAcc);
bool remove();
bool execute();
bool draw();
void init();
void setVariant(s32 var) {
mVariant = var;
}
void setResultMode(bool v) {
mResultMode = v;
}
void fn_8028DD80();
void startOut();
void startIn();
void startOutTemp();
void startFinish();
void startAlphaIn();
void startAlphaOut();
void setTimerValueInMilliSeconds(s32 time);
void setTimerSecondsValueInMilliSeconds(s32 time);
void setBestTime(s32 time);
void setShowBestTime(bool show);
private:
enum TimeFormat_e {
TIMER_LONG,
TIMER_SECONDS,
};
void startLoop();
void updateLongTimer();
void updateSecondsTimer();
void saveSecondsTimer();
void resetIn();
void resetOut();
void resetAlphaIn();
void resetAlphaOut();
void resetDigits();
void resetPosition();
void resetShowBestTime();
void resetFinish();
void resetLoop();
void initSignChange();
void stopIn();
void stopOut();
void stopAlphaIn();
void stopAlphaOut();
void stopFinish();
void stopLoop();
bool isInEndReached() const;
bool isOutEndReached() const;
bool isAlphaInEndReached() const;
bool isAlphaOutEndReached() const;
bool isFinishEndReached() const;
void setHighestDigitIndex(u8);
void setSignChange(u32);
void setTimePosition(bool);
void setBestHasSixDigits(bool);
void setDigit(s32 digitIndex, s32 number);
void setDigitBest(s32 digitIndex, s32 number);
static dLytMiniGameTime_c *sInstance;
/* 0x004 */ d2d::LytBase_c mLyt;
/* 0x094 */ d2d::AnmGroup_c mAnm[29];
/* 0x7D4 */ u8 field_0x7D4;
/* 0x7D8 */ s32 mCurrentTimerValueMilliSeconds;
/* 0x7DC */ s32 mCurrentTimerValueSeconds;
/* 0x7E0 */ s32 mLastTimerValueSeconds;
/* 0x7E4 */ u8 mTimeFormat;
/* 0x7E8 */ s32 mHighestDigitIndex;
/* 0x7EC */ bool field_0x7EC;
/* 0x7ED */ bool field_0x7ED;
/* 0x7EE */ bool mResultMode;
/* 0x7F0 */ s32 mVariant;
/* 0x7F4 */ u8 field_0x7F4;
/* 0x7F5 */ bool mIsVisible;
};
/** 2D UI - Mini Game - Start / Finish Popup */
class dLytMiniGameStart_c {
public:
dLytMiniGameStart_c() : mIsVisible(false) {}
virtual ~dLytMiniGameStart_c() {}
bool build(d2d::ResAccIf_c *resAcc);
bool remove();
bool execute();
bool draw();
void init();
void startCountdown();
void startCountdown120();
void startFinish();
void startTimeup();
bool isCountdownEndReached() const;
bool isFinishEndReached() const;
bool isTimeupEndReached() const;
private:
void resetPlayedSounds();
void resetCountdown();
void resetFinish();
void resetStart();
void stopCountdown();
void stopFinish();
void stopTimeup();
bool checkCountdown3();
bool checkCountdown2();
bool checkCountdown1();
bool checkStart();
bool checkFinish();
bool checkTimeup();
static dLytMiniGameStart_c *sInstance;
/* 0x004 */ d2d::LytBase_c mLyt;
/* 0x094 */ d2d::AnmGroup_c mAnm[3];
/* 0x154 */ bool mPlayedSounds[6];
/* 0x15A */ bool mIsVisible;
};
/** 2D UI - Mini Game - Score counter */
class dLytMiniGameScore_c {
public:
enum Variant_e {
SCORE_VARIANT_BAMBOO_CUTTING,
SCORE_VARIANT_FUN_FUN_ISLAND,
SCORE_VARIANT_THRILL_DIGGER,
SCORE_VARIANT_PUMPKIN_ARCHERY,
SCORE_VARIANT_SPIRAL_CHARGE_TUTORIAL,
};
public:
dLytMiniGameScore_c()
: mScore(0),
mLastScore(0),
mHighestDigitIndex(0),
field_0x7E4(0),
field_0x7E8(0.0f),
field_0x7EC(-2),
field_0x7F0(0),
field_0x7F4(0),
field_0x7F8(-1),
field_0x7FC(1),
field_0x800(0),
field_0x804(false),
field_0x808(0),
field_0x80C(0),
field_0x810(0),
field_0x814(false),
field_0x815(false),
mResultMode(false),
mVariant(SCORE_VARIANT_BAMBOO_CUTTING),
field_0x81C(0),
field_0x820(false),
field_0x824(0),
field_0x828(false),
field_0x829(false),
field_0x82C(0),
field_0x830(1),
mIsVisible(false) {}
virtual ~dLytMiniGameScore_c() {}
bool build(d2d::ResAccIf_c *resAcc);
bool remove();
bool execute();
bool draw();
void init();
void setVariant(s32 var) {
mVariant = var;
}
void setResultMode(bool v) {
mResultMode = v;
}
void setField_0x828(bool v) {
field_0x828 = v;
}
s32 getScore() const {
return mScore;
}
void startIn();
void startOut();
void startOutTemp();
void setScore(s32 score);
void fn_80291410();
void startAlphaIn();
void startAlphaOut();
void fn_80291D40(s32 score);
void fn_80291ED0(s32);
void startFinish();
private:
void startGetScore();
void startLoop();
void fn_80291BC0();
bool hasIncreasedScore() const;
bool hasDecreasedScore() const;
void fn_80291EF0();
void increaseScore(s32);
void fn_80292040();
s32 calcNumDigits();
void realizePosition();
void setDigit(s32 digitIndex, s32 number);
void saveScore();
void resetIn();
void resetDigits();
void resetOut();
void resetAlphaIn();
void resetAlphaOut();
void resetSetPosition();
void resetRupeeChange();
void resetGetScore();
void resetFinish();
void resetLoop();
void stopIn();
void stopOut();
void stopAlphaIn();
void stopAlphaOut();
void stopGetScore();
void stopFinish();
void stopLoop();
bool isInEndReached() const;
bool isOutEndReached() const;
bool isAlphaInEndReached() const;
bool isAlphaOutEndReached() const;
bool isGetScoreEndReached() const;
bool isFinishEndReached() const;
void fn_80292C30();
void loadTextVariant(s32 variant);
void fn_80293410();
void fn_80293450(s32);
static dLytMiniGameScore_c *sInstance;
/* 0x004 */ d2d::LytBase_c mLyt;
/* 0x094 */ d2d::AnmGroup_c mAnm[26];
/* 0x714 */ nw4r::lyt::Pane *mpPanes[20];
/* 0x764 */ f32 mFloats[26];
/* 0x7CC */ dTextBox_c *mpTextBoxes[3];
/* 0x7D8 */ s32 mScore;
/* 0x7DC */ s32 mLastScore;
/* 0x7E0 */ s32 mHighestDigitIndex;
/* 0x7E4 */ UNKWORD field_0x7E4;
/* 0x7E8 */ f32 field_0x7E8;
/* 0x7EC */ s32 field_0x7EC;
/* 0x7F0 */ s32 field_0x7F0;
/* 0x7F4 */ s32 field_0x7F4;
/* 0x7F8 */ s32 field_0x7F8;
/* 0x7FC */ s32 field_0x7FC;
/* 0x800 */ s32 field_0x800;
/* 0x804 */ bool field_0x804;
/* 0x808 */ s32 field_0x808;
/* 0x80C */ s32 field_0x80C;
/* 0x810 */ s32 field_0x810;
/* 0x814 */ bool field_0x814;
/* 0x815 */ bool field_0x815;
/* 0x816 */ bool mResultMode;
/* 0x818 */ s32 mVariant;
/* 0x81C */ s32 field_0x81C;
/* 0x820 */ bool field_0x820;
/* 0x824 */ s32 field_0x824;
/* 0x828 */ bool field_0x828;
/* 0x829 */ bool field_0x829;
/* 0x82C */ UNKWORD field_0x82C;
/* 0x830 */ s32 field_0x830;
/* 0x834 */ f32 field_0x834[3][2];
/* 0x84C */ bool mIsVisible;
};
/** 2D UI - Mini Game - Fun Fun Island score */
class dLytMiniGameScoreSd_c {
public:
dLytMiniGameScoreSd_c() : field_0x1D4(0), mIsVisible(false) {}
virtual ~dLytMiniGameScoreSd_c() {}
bool build(d2d::ResAccIf_c *resAcc);
bool remove();
bool execute();
bool draw();
void init();
void setScoreUp(s32 score);
void setScoreDown(s32 score);
private:
static dLytMiniGameScoreSd_c *sInstance;
void setScoreInternal(s32 score);
void setHighestDigitIndex(s32);
void setDigit(s32 digitIndex, s32 number);
void resetScoreUp();
void resetScoreDown();
void resetDigits();
void resetPosition();
void startScoreUp();
void startScoreDown();
void stopScoreUp();
void stopScoreDown();
bool isScoreUpEndReached() const;
bool isScoreDownEndReached() const;
/* 0x004 */ d2d::LytBase_c mLyt;
/* 0x094 */ d2d::AnmGroup_c mAnm[5];
/* 0x1D4 */ s32 field_0x1D4;
/* 0x1D8 */ bool mIsVisible;
/* 0x1D9 */ bool field_0x1D9;
};
class dLytMiniGame_c : public dBase_c {
public:
enum Variant_e {
VARIANT_0,
VARIANT_BAMBOO_CUTTING,
VARIANT_FUN_FUN_ISLAND,
VARIANT_THRILL_DIGGER,
VARIANT_INSECT_CAPTURE,
VARIANT_SPIRAL_CHARGE_TUTORIAL,
VARIANT_PUMPKIN_ARCHERY,
VARIANT_ROLLERCOASTER,
VARIANT_BOSS_RUSH,
VARIANT_TRIAL_TIME_ATTACK,
// These are created by dFlow_c and correspond to above entries.
// They also cause things to behave a bit differently. What is the purpose
// of these special variants?
VARIANT_BAMBOO_CUTTING_RESULT,
VARIANT_THRILL_DIGGER_RESULT,
VARIANT_INSECT_CAPTURE_RESULT,
VARIANT_PUMPKIN_ARCHERY_RESULT,
VARIANT_ROLLERCOASTER_RESULT,
VARIANT_BOSS_RUSH_RESULT,
VARIANT_TRIAL_TIME_ATTACK_RESULT,
};
private:
enum Slot_e {
SLOT_MINI_GAME,
SLOT_MINI_GAME_SCORE,
SLOT_MINI_GAME_TIME,
SLOT_MINI_GAME_BUGS,
SLOT_MINI_GAME_PUMPKIN,
SLOT_MINI_GAME_SCORE_SD,
};
public:
dLytMiniGame_c()
: mLoadRequestStart(false),
mLoadRequestScore(false),
mLoadRequestTime(false),
mLoadRequestBugs(false),
mLoadRequestPumpkin(false),
mLoadRequestScoreSd(false),
mVariant(VARIANT_BAMBOO_CUTTING),
field_0x3864(false),
field_0x3865(false),
field_0x3866(false),
field_0x3867(false),
field_0x3868(false) {}
virtual ~dLytMiniGame_c() {}
virtual int create() override;
virtual int doDelete() override;
virtual int execute() override;
virtual int draw() override;
static dLytMiniGame_c *GetInstance() {
return sInstance;
}
/** Updates some window */
void fn_80295940();
/** ??? */
void fn_80295980();
/** Checks to see if in BAMBOO_CUTTING .. BOSS_RUSH and returns some boolean (start?) */
bool fn_80295AB0();
/** Checks to see if in BAMBOO_CUTTING .. BOSS_RUSH and returns some boolean (end?) */
bool fn_80295AD0();
void startCountdown();
void startFinish();
void startTimeup();
void setHighscore(s32 time);
bool isStartCountdownDone();
bool isFinishAnimDone();
bool isTimeupAnimDone();
/** GUESS: sets the start for the high score? */
void fn_80295CB0(bool);
void setScoreUp(s32 score);
void setScoreDown(s32);
void timeRelatedExecute();
void scoreRelatedExecute();
void setBestTime(s32 time);
void setShowBestTime(bool);
void timeRelatedInit();
void scoreRelatedInit();
void setDisplayedTime(s32 time);
void setDisplayedPoints(s32 time);
void setDisplayedPoints(s32 points);
void timeRelated();
void scoreRelated();
void endTimeResult();
void endScoreResult();
void fn_80295900(s32);
/** GUESS: Assumption based on function caller */
void setComplete() {
@@ -38,10 +590,72 @@ public:
}
private:
u8 _0x0000[0x3866 - 0x0000];
bool field_0x3866;
static dLytMiniGame_c *sInstance;
bool isLoading(const char *name) const;
bool loadData(const char *name, s32 slot);
void unloadData(const char *name);
void attachLoadedData(const char *name, d2d::ResAccIf_c &resAcc);
void init();
void startBugsAllIconsIn();
void set5Bugs();
void set10Bugs();
void reInitBugs();
void setBug(s32 slot, s32 bugIndex);
void collectBug(s32 slot);
void startBugsFlash();
bool isBugIconOnEndReached(s32 slot) const;
bool isBugCollected(s32 slot) const;
void fn_80295D80();
void fn_80295D90(s32 points);
void getPumpkin(const mVec3_c &pumpkinPos, s32 unk, bool doubleScore);
bool isDisplayingResult();
bool isInEvent() const;
bool isPopupOpen() const;
bool isPopupOpenExceptHelp() const;
bool isFadingOut() const;
void executeBambooCutting();
void executeFunFunIsland();
void executeThrillDigger();
void executeInsectCapture();
void executeSpiralChargeTutorial();
void executePumpkinArchery();
void executeRollercoaster();
// These two do the same thing
void executeBossRush();
void executeTrialTimeAttack();
/* 0x0068 */ bool mLoadRequestStart;
/* 0x0069 */ bool mLoadRequestScore;
/* 0x006A */ bool mLoadRequestTime;
/* 0x006B */ bool mLoadRequestBugs;
/* 0x006C */ bool mLoadRequestPumpkin;
/* 0x006D */ bool mLoadRequestScoreSd;
/* 0x0070 */ d2d::ResAccIf_c mResAccStart;
/* 0x03E0 */ d2d::ResAccIf_c mResAccScore;
/* 0x0750 */ d2d::ResAccIf_c mResAccTime;
/* 0x0AC0 */ d2d::ResAccIf_c mResAccBugs;
/* 0x0E30 */ d2d::ResAccIf_c mResAccPumpkin;
/* 0x11A0 */ d2d::ResAccIf_c mResAccScoreSd;
/* 0x1510 */ s32 mVariant;
/* 0x1514 */ dLytMiniGameScore_c mScore;
/* 0x1D64 */ dLytMiniGameScoreSd_c mScoreSd;
/* 0x1F40 */ dLytMiniGameStart_c mStart;
/* 0x209C */ dLytMiniGameTime_c mTime;
/* 0x2894 */ dLytMiniGameBugs_c mBugs;
/* 0x33E4 */ dLytMiniGamePumpkin_c mPumpkin;
/* 0x3864 */ bool field_0x3864;
/* 0x3865 */ bool field_0x3865;
/* 0x3866 */ bool field_0x3866;
/* 0x3867 */ bool field_0x3867;
/* 0x3868 */ bool field_0x3868;
};
#endif
+17 -1
View File
@@ -93,7 +93,7 @@ public:
bool fn_800C9F70();
bool fn_800C9FE0();
bool fn_800CA040();
bool isPopupOpen();
bool isInMapEvent();
bool fn_800D5380(u8);
@@ -402,6 +402,14 @@ public:
}
}
static s32 getRupeeDifference() {
if (sInstance != nullptr) {
return sInstance->mMain.mRupy.getRupeeDifference();
} else {
return 0;
}
}
static void setField_0x13B61(u8 val) {
if (sInstance != nullptr) {
sInstance->field_0x13B61 = val;
@@ -452,6 +460,14 @@ public:
}
}
static bool isPopupOpen() {
if (sInstance != nullptr) {
return sInstance->mMain.isPopupOpen();
} else {
return false;
}
}
static bool getfn_800D97A0() {
if (sInstance != nullptr) {
return sInstance->fn_800D97A0();
+2 -1
View File
@@ -117,10 +117,11 @@ public:
mSize = size;
}
s32 getRupeeDifference() const;
private:
bool updateDisplayedAmount(bool suppressSound);
bool hasChangeInRupees() const;
s32 getRupeeDifference() const;
void setDigit(s32 index, s32 digit);
void executeDigitJump();
void executeDigitBlink(s32 amount);
+2 -2
View File
@@ -56,13 +56,13 @@ public:
bool holdDowsingNearestSound();
bool playSirenCountdownSound(s32 timer);
bool playMinigameCountdownSound();
bool playMinigameCountdownSound(s32 timer); ///< timer is unused
bool playMinigameTimeUpSound(s32 timer);
bool playMinigameStartSound();
bool playMinigameFinishSound();
bool playMinigameFinishWhistleSound();
bool playMinigameScoreUpSound(s32 param);
bool playMinigameScoreDownSound();
bool playMinigameScoreDownSound(s32 score);
bool playMinigameMusasabiSound(s32 count);
bool playSkbSound(u32 soundId);
+3 -3
View File
@@ -20,9 +20,9 @@ namespace d3d {
bool create(EGG::Heap *);
f32 fn_80016960(mVec3_c &, const mVec3_c &pos);
bool fn_80016A90(const mVec3_c &pos);
void fn_80016B60(mVec3_c &, const mVec3_c &pos);
f32 worldToScreen(mVec3_c &result, const mVec3_c &worldPos);
bool isOnScreen(const mVec3_c &worldPos);
void screenToWorld(mVec3_c &result, const mVec3_c &screenPos);
void createLightTextures();
class AnmMdlWrapper : public m3d::mdlAnmChr {
+3
View File
@@ -34,6 +34,9 @@ public:
static bool checkInBossRush() {
return isInMinigameState(BOSS_RUSH);
}
static bool checkInFunFunIsland() {
return isInMinigameState(FUN_FUN_ISLAND);
}
private:
MinigameManager() {}
+10 -10
View File
@@ -68,12 +68,12 @@ int dTgSwordBattleGame_c::actorExecuteInEvent() {
} break;
case 'cndn': {
if (advance) {
dLytMiniGame_c::GetInstance()->fn_80295940();
dLytMiniGame_c::GetInstance()->startCountdown();
} else if (dLytMiniGame_c::GetInstance()->fn_80295AB0()) {
dLytMiniGame_c::GetInstance()->timeRelatedExecute();
dLytMiniGame_c::GetInstance()->setHighscore(getBossHighscore());
dLytMiniGame_c::GetInstance()->fn_80295CB0(true);
} else if (dLytMiniGame_c::GetInstance()->isStartCountdownDone()) {
dLytMiniGame_c::GetInstance()->timeRelatedInit();
dLytMiniGame_c::GetInstance()->setBestTime(getBossHighscore());
dLytMiniGame_c::GetInstance()->setShowBestTime(true);
mTimer.initUpCounter();
field_0x1A8 = true;
field_0x1AC = true;
@@ -83,8 +83,8 @@ int dTgSwordBattleGame_c::actorExecuteInEvent() {
} break;
case 'fnsh': {
if (advance) {
dLytMiniGame_c::GetInstance()->fn_80295980();
} else if (dLytMiniGame_c::GetInstance()->fn_80295AD0()) {
dLytMiniGame_c::GetInstance()->startFinish();
} else if (dLytMiniGame_c::GetInstance()->isFinishAnimDone()) {
mEventRelated.advanceNext();
}
ret = SUCCEEDED;
@@ -112,8 +112,8 @@ int dTgSwordBattleGame_c::actorExecuteInEvent() {
setInBossRushFlag();
setCurrentBossNumber(mBossNumber + 1);
if (MinigameManager::endMinigame(MinigameManager::BOSS_RUSH)) {
dLytMiniGame_c::GetInstance()->fn_80295980();
dLytMiniGame_c::GetInstance()->timeRelated();
dLytMiniGame_c::GetInstance()->startFinish();
dLytMiniGame_c::GetInstance()->endTimeResult();
}
}
} break;
@@ -163,7 +163,7 @@ void dTgSwordBattleGame_c::finalizeState_Manage() {}
void dTgSwordBattleGame_c::init() {
if (MinigameManager::GetInstance()->checkInBossRush()) {
createBase(fProfile::LYT_MINI_GAME, this, 8, OTHER);
createBase(fProfile::LYT_MINI_GAME, this, dLytMiniGame_c::VARIANT_BOSS_RUSH, OTHER);
}
mTimer.vt_0x0C();
+1 -1
View File
@@ -124,7 +124,7 @@ bool dCursorHitCheckCC_c::checkHit(s32 x, s32 y) {
);
mVec3_c v;
d3d::fn_80016B60(v, pos);
d3d::screenToWorld(v, pos);
nw4r::g3d::Camera cam = dStageMgr_c::GetInstance()->getCamera(0);
+75 -53
View File
@@ -437,9 +437,7 @@ bool dFlow_c::handleEventInternal(const MsbFlowInfo *element) {
dMessage_c::getInstance()->setInMapEvent(true);
dMessage_c::getInstance()->clearLightPillarRelatedArgs();
if (dLytControlGame_c::getInstance()->isStateNotNormalOrInEvent()) {
dLytControlGame_c::getInstance()->openMapEvent(
mapEvent, arg1, arg2
);
dLytControlGame_c::getInstance()->openMapEvent(mapEvent, arg1, arg2);
}
} else {
dLytMap_c::GetInstance()->queueMapEvent(mapEvent, arg1, arg2);
@@ -482,17 +480,17 @@ bool dFlow_c::handleEventInternal(const MsbFlowInfo *element) {
break;
}
case EVENT_LYT_MINI_GAME: {
if (dMessage_c::getInstance()->getField_0x340() != 0) {
// cancel something minigame related if running
if (dMessage_c::getInstance()->hasSetMinigameResult()) {
// clear old result
clearMinigame();
}
// start something minigame related
// create new result
dMessage_c::getInstance()->setMiniGameVariant(params1n2);
createLytMiniGame();
break;
}
case EVENT_LYT_MINI_GAME_END:
// cancel something minigame related
// hide score/time
clearMinigame();
break;
case EVENT_46: dMessage_c::getInstance()->setField_0x344(params1n2); break;
@@ -1195,57 +1193,81 @@ void dFlow_c::clear() {
void dFlow_c::createLytMiniGame() {
if (dLytMiniGame_c::GetInstance() == nullptr) {
switch (dMessage_c::getInstance()->getMiniGameVariant()) {
case 0:
dBase_c::createBase(fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(), 11, fBase_c::OTHER);
case dMessage_c::MG_THRILL_DIGGER:
dBase_c::createBase(
fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(),
dLytMiniGame_c::VARIANT_THRILL_DIGGER_RESULT, fBase_c::OTHER
);
break;
case 1:
dBase_c::createBase(fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(), 10, fBase_c::OTHER);
case dMessage_c::MG_BAMBOO_CUTTING:
dBase_c::createBase(
fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(),
dLytMiniGame_c::VARIANT_BAMBOO_CUTTING_RESULT, fBase_c::OTHER
);
break;
case 2:
dBase_c::createBase(fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(), 12, fBase_c::OTHER);
case dMessage_c::MG_INSECT_CAPTURE:
dBase_c::createBase(
fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(),
dLytMiniGame_c::VARIANT_INSECT_CAPTURE_RESULT, fBase_c::OTHER
);
break;
case 3:
dBase_c::createBase(fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(), 14, fBase_c::OTHER);
case dMessage_c::MG_ROLLERCOASTER:
dBase_c::createBase(
fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(),
dLytMiniGame_c::VARIANT_ROLLERCOASTER_RESULT, fBase_c::OTHER
);
break;
case 4:
dBase_c::createBase(fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(), 13, fBase_c::OTHER);
case dMessage_c::MG_PUMPKIN_ARCHERY:
dBase_c::createBase(
fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(),
dLytMiniGame_c::VARIANT_PUMPKIN_ARCHERY_RESULT, fBase_c::OTHER
);
break;
case 5:
dBase_c::createBase(fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(), 2, fBase_c::OTHER);
case dMessage_c::MG_FUN_FUN_ISLAND:
dBase_c::createBase(
fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(), dLytMiniGame_c::VARIANT_FUN_FUN_ISLAND,
fBase_c::OTHER
);
break;
case 6:
dBase_c::createBase(fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(), 16, fBase_c::OTHER);
case dMessage_c::MG_TRIAL_TIME_ATTACK:
dBase_c::createBase(
fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(),
dLytMiniGame_c::VARIANT_TRIAL_TIME_ATTACK_RESULT, fBase_c::OTHER
);
break;
case 7:
dBase_c::createBase(fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(), 15, fBase_c::OTHER);
case dMessage_c::MG_BOSS_RUSH:
dBase_c::createBase(
fProfile::LYT_MINI_GAME, dLytControlGame_c::getInstance(), dLytMiniGame_c::VARIANT_BOSS_RUSH_RESULT,
fBase_c::OTHER
);
break;
}
}
}
void dFlow_c::clearMinigame() {
if (dMessage_c::getInstance()->getField_0x340()) {
if (dMessage_c::getInstance()->hasSetMinigameResult()) {
switch (dMessage_c::getInstance()->getMiniGameVariant()) {
case 0:
case 1:
case 4:
case 5:
case dMessage_c::MG_THRILL_DIGGER:
case dMessage_c::MG_BAMBOO_CUTTING:
case dMessage_c::MG_PUMPKIN_ARCHERY:
case dMessage_c::MG_FUN_FUN_ISLAND:
if (dLytMiniGame_c::GetInstance() != nullptr) {
dLytMiniGame_c::GetInstance()->scoreRelated();
dLytMiniGame_c::GetInstance()->endScoreResult();
}
break;
case 2:
case 3:
case 6:
case 7:
case dMessage_c::MG_INSECT_CAPTURE:
case dMessage_c::MG_ROLLERCOASTER:
case dMessage_c::MG_TRIAL_TIME_ATTACK:
case dMessage_c::MG_BOSS_RUSH:
if (dLytMiniGame_c::GetInstance() != nullptr) {
dLytMiniGame_c::GetInstance()->timeRelated();
dLytMiniGame_c::GetInstance()->endTimeResult();
}
break;
}
}
dMessage_c::getInstance()->setField_0x340(0);
dMessage_c::getInstance()->setMiniGameVariant(8);
dMessage_c::getInstance()->setHasSetMinigameResult(false);
dMessage_c::getInstance()->setMiniGameVariant(dMessage_c::MG_NONE);
}
SPECIAL_BASE_PROFILE(MESSAGE, dMessage_c, fProfile::MESSAGE, 0x2A8, 0);
@@ -1733,29 +1755,29 @@ void dMessage_c::clearLightPillarRelatedArgs() {
}
void dMessage_c::executeMinigame() {
if (mMiniGameVariant == 8) {
if (mMinigameVariant == MG_NONE) {
return;
}
if (!dMessage_c::getInstance()->getField_0x340()) {
switch (mMiniGameVariant) {
case 0:
case 1:
case 4:
case 5:
if (!dMessage_c::getInstance()->hasSetMinigameResult()) {
switch (mMinigameVariant) {
case MG_THRILL_DIGGER:
case MG_BAMBOO_CUTTING:
case MG_PUMPKIN_ARCHERY:
case MG_FUN_FUN_ISLAND:
if (dLytMiniGame_c::GetInstance() != nullptr) {
dLytMiniGame_c::GetInstance()->scoreRelatedExecute();
dLytMiniGame_c::GetInstance()->scoreRelatedInit();
dLytMiniGame_c::GetInstance()->setDisplayedPoints(mMinigameResultPoints);
sInstance->field_0x340 = 1;
sInstance->mHasSetMinigameResult = true;
}
break;
case 2:
case 3:
case 6:
case 7:
case MG_INSECT_CAPTURE:
case MG_ROLLERCOASTER:
case MG_TRIAL_TIME_ATTACK:
case MG_BOSS_RUSH:
if (dLytMiniGame_c::GetInstance() != nullptr) {
dLytMiniGame_c::GetInstance()->timeRelatedExecute();
dLytMiniGame_c::GetInstance()->timeRelatedInit();
dLytMiniGame_c::GetInstance()->setDisplayedTime(mMinigameTime);
sInstance->field_0x340 = 1;
sInstance->mHasSetMinigameResult = true;
}
break;
}
@@ -1774,8 +1796,8 @@ void dMessage_c::init() {
void dMessage_c::reset() {
init();
mMiniGameVariant = 8;
field_0x340 = 0;
mMinigameVariant = MG_NONE;
mHasSetMinigameResult = false;
mMinigameResultPoints = 0;
mMinigameTime = 0;
}
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -581,7 +581,7 @@ bool dLytMeterMain_c::fn_800C9FE0() {
return false;
}
bool dLytMeterMain_c::fn_800CA040() {
bool dLytMeterMain_c::isPopupOpen() {
if (mHelpOpen || isInModeMap() || isInModePause()) {
return true;
}
@@ -439,7 +439,7 @@ bool dLytMeterGanbariGauge_c::execute() {
mVec3_c diff = dAcPy_c::GetLink()->mPositionCopy3 - dScGame_c::getCamera(0)->getPositionMaybe();
f32 len = diff.mag();
mVec3_c v;
d3d::fn_80016960(v, dAcPy_c::GetLink()->mPositionCopy3);
d3d::worldToScreen(v, dAcPy_c::GetLink()->mPositionCopy3);
if (!EventManager::isInEvent()) {
field_0x524 = v;
}
@@ -602,7 +602,7 @@ bool dLytMeterGanbariGauge_c::execute() {
if (!EventManager::isInEvent() && !dAcPy_c::GetLink()->hasvt_0x1C0() &&
!dAcPy_c::GetLink()->checkActionFlagsCont(0x10) &&
(d3d::fn_80016A90(dAcPy_c::GetLink()->mPositionCopy3) || fn_80104710(false) || isCrawling()) &&
(d3d::isOnScreen(dAcPy_c::GetLink()->mPositionCopy3) || fn_80104710(false) || isCrawling()) &&
*mStateMgrWheel.getStateID() != StateID_Full && *mStateMgrMain.getStateID() == StateID_InvisibleWait &&
!field_0x530) {
mStateMgrMain.changeState(StateID_In);
@@ -611,7 +611,7 @@ bool dLytMeterGanbariGauge_c::execute() {
mStateMgrMain.changeState(StateID_OutWait);
} else if ((EventManager::isInEvent() || dAcPy_c::GetLink()->hasvt_0x1C0() ||
dAcPy_c::GetLink()->checkActionFlagsCont(0x10) ||
(!d3d::fn_80016A90(dAcPy_c::GetLink()->mPositionCopy3) && !fn_80104710(false) && !isCrawling())) &&
(!d3d::isOnScreen(dAcPy_c::GetLink()->mPositionCopy3) && !fn_80104710(false) && !isCrawling())) &&
*mStateMgrMain.getStateID() == StateID_Wait) {
mStateMgrMain.changeState(StateID_CameraOut);
} else if (field_0x530 && *mStateMgrMain.getStateID() == StateID_Wait) {
+1 -1
View File
@@ -474,7 +474,7 @@ bool dLytMeterRupy_c::updateDisplayedAmount(bool suppressSound) {
newNumDigits = 3;
setDigit(0, newNumDisplayed / 100);
s32 rem = (newNumDisplayed % 100);
setDigit(1, rem / 10); // x
setDigit(1, rem / 10);
setDigit(2, rem % 10);
} else if (newNumDisplayed >= 10) {
newNumDigits = 2;
+2 -2
View File
@@ -264,8 +264,8 @@ void dLytMsgWindow_c::initializeState_In() {
param = 2;
} else if (mpTagProcessor->getField_0x90D() == 3) {
param = 1;
} else if (obj != nullptr && d3d::fn_80016A90(obj->mPositionCopy2)) {
d3d::fn_80016960(field_0x768, obj->mPositionCopy2);
} else if (obj != nullptr && d3d::isOnScreen(obj->mPositionCopy2)) {
d3d::worldToScreen(field_0x768, obj->mPositionCopy2);
mVec3_c v = field_0x768;
v.z = 0.f;
field_0x768 = v;
+2 -2
View File
@@ -483,7 +483,7 @@ bool dSndSmallEffectMgr_c::playSirenCountdownSound(s32 timer) {
return ok;
}
bool dSndSmallEffectMgr_c::playMinigameCountdownSound() {
bool dSndSmallEffectMgr_c::playMinigameCountdownSound(s32 timer) {
return playSoundInternal(SE_S_MG_COUNT_DOWN_1);
}
@@ -544,7 +544,7 @@ bool dSndSmallEffectMgr_c::playMinigameScoreUpSound(s32 param) {
return playSoundInternal(soundId);
}
bool dSndSmallEffectMgr_c::playMinigameScoreDownSound() {
bool dSndSmallEffectMgr_c::playMinigameScoreDownSound(s32 score) {
return playSoundInternal(SE_S_MG_SCORE_DOWN);
}