general cleanup of ttc related code
This commit is contained in:
@@ -19,7 +19,7 @@ extern void func_803458E4(f32[4], f32[4], f32[4], f32);
|
||||
#define CH_BOTTLES_BONUS_PUZZLE_PIECE_COUNT (CH_BOTTLES_BONUS_PUZZLE_HEIGHT * CH_BOTTLES_BONUS_PUZZLE_WIDTH)
|
||||
|
||||
/* .extern symbols??? */
|
||||
extern u8 D_8037DCC0[7];
|
||||
extern u8 gCompletedBottleBonusGames[7];
|
||||
extern u8 D_8037DCC7;
|
||||
extern u8 D_8037DCC8;
|
||||
extern u8 D_8037DCC9;
|
||||
@@ -422,7 +422,7 @@ void chBottlesBonus_completedPuzzle(void) {
|
||||
Actor *actor;
|
||||
|
||||
actor = marker_getActor(chBottlesBonusMarker);
|
||||
D_8037DCC0[chBottleBonusPuzzleIndex] = TRUE;
|
||||
gCompletedBottleBonusGames[chBottleBonusPuzzleIndex] = TRUE;
|
||||
func_80311714(0);
|
||||
gcdialog_showText(D_803681A0[chBottleBonusPuzzleIndex + 1].text_id, 0x86, actor->position, chBottlesBonusMarker, chBottlesBonus_IncrementPuzzle, NULL);
|
||||
func_80311714(1);
|
||||
@@ -600,7 +600,7 @@ Actor *chBottlesBonus_new(s32 position[3], s32 yaw, ActorInfo *actor_info, u32 f
|
||||
void chBottlesBonus_func_802DEB80(void) {
|
||||
int i;
|
||||
for(i = 0; i < 7; i++){
|
||||
D_8037DCC0[i] = 0;
|
||||
gCompletedBottleBonusGames[i] = 0;
|
||||
}
|
||||
D_8037DCC7 = 0;
|
||||
D_8037DCC8 = 0;
|
||||
|
@@ -83,7 +83,7 @@ s32 mm_hut_smash_count;
|
||||
u32 CH_TREASUREHUNT_PUZZLE_CURRENT_STEP;
|
||||
struct FF_StorageStruct* D_8037DCB8;
|
||||
s32 D_8037DCBC;
|
||||
u8 D_8037DCC0[7]; // bottle bonus puzzle?
|
||||
u8 gCompletedBottleBonusGames[7]; // bottle bonus puzzle?
|
||||
u8 D_8037DCC7;
|
||||
u8 D_8037DCC8;
|
||||
u8 D_8037DCC9;
|
||||
|
@@ -942,11 +942,6 @@ int func_80311174(s32 text_id, s32 arg1, f32 *pos, ActorMarker *marker, void(*ca
|
||||
return 0;
|
||||
}
|
||||
|
||||
// arg1 = "person" that says text?
|
||||
// 0xC = Bottles
|
||||
// 0xE = Jumbo?
|
||||
// 0x4 = Gruntilda?
|
||||
// 0xF = Mr Vile?
|
||||
bool gcdialog_showText(s32 text_id, s32 arg1, f32 *pos, ActorMarker *marker, void(*callback)(ActorMarker *, enum asset_e, s32), void(*arg5)(ActorMarker *, enum asset_e, s32)){
|
||||
return func_80311174(text_id, arg1, pos, marker, callback, arg5, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user