Renaming gcdialog_showText function
This commit is contained in:
@@ -44,11 +44,11 @@ void func_8038BADC(ActorMarker *marker, enum asset_e text_id, s32 arg2) {
|
||||
if (text_id == ((ActorLocal_lair_5640 *)&this->local)->unk0 + 2) {
|
||||
if (!fileProgressFlag_get(this->unkF4_8 - 1 + FILEPROG_E9_HEALED_BY_BRENTILDA_1)) {
|
||||
if (item_getCount(ITEM_14_HEALTH) < item_getCount(ITEM_15_HEALTH_TOTAL)) {
|
||||
func_80311480(0x10A2, 0xF, this->position, this->marker, func_8038BADC, lair_func_8038BA88);
|
||||
gcdialog_showText(ASSET_10A2_TEXT_UNKNOWN, 0xF, this->position, this->marker, func_8038BADC, lair_func_8038BA88);
|
||||
return;
|
||||
}
|
||||
}
|
||||
func_80311480(0xD38, 0xC, this->position, this->marker, func_8038BADC, NULL);
|
||||
gcdialog_showText(ASSET_D38_TEXT_BOTTLES_ALL_MOVES_LEARNED, 0xC, this->position, this->marker, func_8038BADC, NULL);
|
||||
return;
|
||||
}
|
||||
subaddie_set_state(this, 1);
|
||||
@@ -182,7 +182,7 @@ void chBrentilda_update(Actor *this) {
|
||||
&& func_8028F20C()
|
||||
&& !func_803114B0()) {
|
||||
if (!fileProgressFlag_get(FILEPROG_96_MET_BRENTILDA)) {
|
||||
func_80311480(ASSET_10A1_DIALOG_BRENTILDA_MEET, 0xA, this->position, this->marker, func_8038BADC, NULL);
|
||||
gcdialog_showText(ASSET_10A1_DIALOG_BRENTILDA_MEET, 0xA, this->position, this->marker, func_8038BADC, NULL);
|
||||
fileProgressFlag_set(FILEPROG_96_MET_BRENTILDA, TRUE);
|
||||
subaddie_set_state(this, 2);
|
||||
return;
|
||||
|
@@ -184,7 +184,7 @@ void func_8038AC7C(Actor *this) {
|
||||
if (35.0 < this->lifetime_value) {
|
||||
sp2C = (fileProgressFlag_get(FILEPROG_CF_HAS_ENTERED_FINAL_FIGHT)) ? 0xFB7 : 0xFAE;
|
||||
sp28 = (fileProgressFlag_get(FILEPROG_CF_HAS_ENTERED_FINAL_FIGHT)) ? 0xFBC : 0xFB7;
|
||||
if (func_80311480(sp2C + this->unk38_31, 0, NULL, NULL, NULL, NULL)) {
|
||||
if (gcdialog_showText(sp2C + this->unk38_31, 0, NULL, NULL, NULL, NULL)) {
|
||||
this->unk38_31++;
|
||||
this->lifetime_value = 0.0f;
|
||||
if (sp2C + this->unk38_31 >= sp28) {
|
||||
@@ -256,7 +256,7 @@ void chWarpCauldron_update(Actor *this) {
|
||||
}
|
||||
if (!fileProgressFlag_get(FILEPROG_F5_COMPLETED_A_WARP_CAULDRON_SET) && fileProgressFlag_get(chWarpCauldron_getPairedFileProgressFlagIndex(this))) {
|
||||
if (func_802D677C(-1) != map_get()) {
|
||||
func_80311480(0xF7A, 4, NULL, NULL, NULL, NULL);
|
||||
gcdialog_showText(ASSET_F7A_TEXT_UNKNOWN, 4, NULL, NULL, NULL, NULL);
|
||||
fileProgressFlag_set(FILEPROG_F5_COMPLETED_A_WARP_CAULDRON_SET, 1);
|
||||
}
|
||||
}
|
||||
@@ -278,7 +278,7 @@ void chWarpCauldron_update(Actor *this) {
|
||||
phi_a0 = (fileProgressFlag_get(chWarpCauldron_getPairedFileProgressFlagIndex(this)) != 0) ? SFX_107_CAULDRON_ACTIVATION_1 : SFX_108_CAULDRON_ACTIVATION_2;
|
||||
sfxsource_play(phi_a0, 32000);
|
||||
if (!fileProgressFlag_get(FILEPROG_F5_COMPLETED_A_WARP_CAULDRON_SET) && !fileProgressFlag_get(chWarpCauldron_getPairedFileProgressFlagIndex(this))) {
|
||||
func_80311480(0xF79, 4, NULL, NULL, NULL, NULL);
|
||||
gcdialog_showText(ASSET_F79_TEXT_UNKNOWN, 4, NULL, NULL, NULL, NULL);
|
||||
}
|
||||
if (fileProgressFlag_get(chWarpCauldron_getPairedFileProgressFlagIndex(this))){
|
||||
switch(this->unkF4_8){
|
||||
@@ -385,7 +385,7 @@ void chWarpCauldron_update(Actor *this) {
|
||||
|
||||
case 6: //L8038B64C
|
||||
if (func_8038A690(this) && !fileProgressFlag_get(FILEPROG_F3_MET_DINGPOT)) {
|
||||
func_80311480(0xFAD, 0xA, this->position, NULL, __chWarpCauldron_dingpotDialogCallback, NULL);
|
||||
gcdialog_showText(ASSET_FAD_TEXT_UNKNOWN, 0xA, this->position, NULL, __chWarpCauldron_dingpotDialogCallback, NULL);
|
||||
}
|
||||
this->unk38_0 = TRUE;
|
||||
|
||||
|
@@ -1234,7 +1234,7 @@ void lair_func_8038E0B0(void) {
|
||||
func_802FACA4(0x16);
|
||||
if (sp38 != FFTT_0_NIL) {
|
||||
sp28 = sp38 - 1 + FILEPROG_55_FF_BK_SQUARE_INSTRUCTIONS;
|
||||
if (!fileProgressFlag_get(sp28) && func_80311480(sp38 + 0x101E, 0, NULL, NULL, NULL, NULL)) {
|
||||
if (!fileProgressFlag_get(sp28) && gcdialog_showText(sp38 + 0x101E, 0, NULL, NULL, NULL, NULL)) {
|
||||
fileProgressFlag_set(sp28, TRUE);
|
||||
}
|
||||
if ((sp38 == FFTT_6_SKULL) && (item_getCount(ITEM_16_LIFE) == 1)) {
|
||||
|
@@ -262,7 +262,7 @@ void func_8038F250(Actor *this){
|
||||
&& !func_8038EB58(this)
|
||||
&& !fileProgressFlag_get(FILEPROG_DF_CAN_REMOVE_ALL_PUZZLE_PIECES)
|
||||
) {
|
||||
if (func_80311480(0xF7C, 2, NULL, NULL, NULL, NULL)) {
|
||||
if (gcdialog_showText(0xF7C, 2, NULL, NULL, NULL, NULL)) {
|
||||
fileProgressFlag_set(FILEPROG_DF_CAN_REMOVE_ALL_PUZZLE_PIECES, TRUE);
|
||||
}
|
||||
} else if ((this->unkF4_8 >= 3)
|
||||
@@ -270,7 +270,7 @@ void func_8038F250(Actor *this){
|
||||
&& !func_8038EB58(this)
|
||||
&& !fileProgressFlag_get(FILEPROG_E0_CAN_PLACE_ALL_PUZZLE_PIECES)
|
||||
){
|
||||
if(func_80311480(0xF7D, 2, NULL, NULL, NULL, NULL)) {
|
||||
if(gcdialog_showText(0xF7D, 2, NULL, NULL, NULL, NULL)) {
|
||||
fileProgressFlag_set(FILEPROG_E0_CAN_PLACE_ALL_PUZZLE_PIECES, TRUE);
|
||||
}
|
||||
}
|
||||
@@ -300,10 +300,10 @@ void func_8038F350(Actor *this, s32 next_state){
|
||||
func_803115C4(0xF80);
|
||||
func_803115C4(0xF7F);
|
||||
if (item_getCount(ITEM_26_JIGGY_TOTAL) > 0) {
|
||||
func_80311480(fileProgressFlag_get(FILEPROG_16_STOOD_ON_JIGSAW_PODIUM) ? 0xF5A : 0xF59, 6, sp50, this->marker, func_8038F078, NULL);
|
||||
gcdialog_showText(fileProgressFlag_get(FILEPROG_16_STOOD_ON_JIGSAW_PODIUM) ? 0xF5A : 0xF59, 6, sp50, this->marker, func_8038F078, NULL);
|
||||
fileProgressFlag_set(FILEPROG_17_HAS_HAD_ENOUGH_JIGSAW_PIECES, 1);
|
||||
} else {
|
||||
func_80311480(0xF58, 6, sp50, this->marker, func_8038F078, NULL);
|
||||
gcdialog_showText(0xF58, 6, sp50, this->marker, func_8038F078, NULL);
|
||||
}
|
||||
fileProgressFlag_set(FILEPROG_16_STOOD_ON_JIGSAW_PODIUM, 1);
|
||||
fileProgressFlag_set(FILEPROG_A7_NEAR_PUZZLE_PODIUM_TEXT, 1);
|
||||
@@ -395,7 +395,7 @@ void lair_func_8038F894(Actor *this, s32 arg1) {
|
||||
func_8038F350(this, 1);
|
||||
return;
|
||||
}
|
||||
func_80311480(0xFBC, 4, NULL, NULL, NULL, NULL);
|
||||
gcdialog_showText(0xFBC, 4, NULL, NULL, NULL, NULL);
|
||||
fileProgressFlag_set(FILEPROG_DE_USED_ALL_YOUR_PUZZLE_PIECES, 1);
|
||||
}
|
||||
|
||||
@@ -479,7 +479,7 @@ void lair_func_8038F924(Actor *this) {
|
||||
if (func_80329530(this, 300)) {
|
||||
if ((this->unkF4_8 == 0xA) && !fileProgressFlag_get(FILEPROG_F6_SEEN_DOOR_OF_GRUNTY_PUZZLE_PODIUM)) {
|
||||
phi_a0 = (item_getCount(ITEM_26_JIGGY_TOTAL) < D_803947F8[this->unkF4_8 - 1].cost) ? 0xFAB : 0xFC0;
|
||||
if (func_80311480(phi_a0, 0, NULL, NULL, NULL, NULL)) {
|
||||
if (gcdialog_showText(phi_a0, 0, NULL, NULL, NULL, NULL)) {
|
||||
fileProgressFlag_set(FILEPROG_F6_SEEN_DOOR_OF_GRUNTY_PUZZLE_PODIUM, TRUE);
|
||||
}
|
||||
} else if (this->unkF4_8 == 1) {
|
||||
|
@@ -64,7 +64,7 @@ void func_80390174(ActorMarker *marker, s32 arg1) {
|
||||
sp28 = this->marker->id - 0x16D;
|
||||
func_8028F94C(2, this->position);
|
||||
if (fileProgressFlag_get(sp28 + 0xAD)) {
|
||||
func_80311480(sp28 + 0xF83, 0xE, this->position, this->marker, func_803900EC, lair_func_803900DC);
|
||||
gcdialog_showText(sp28 + 0xF83, 0xE, this->position, this->marker, func_803900EC, lair_func_803900DC);
|
||||
return;
|
||||
}
|
||||
func_80311174(func_80390084() + 0xFA5, 0xE, this->position, this->marker, func_803900EC, lair_func_803900DC, func_80390158);
|
||||
|
@@ -55,11 +55,11 @@ void func_80392690(ActorMarker *marker, enum asset_e text_id, s32 arg2){
|
||||
void func_80392700(Actor *this) {
|
||||
if (mapSpecificFlags_get(4)) {
|
||||
if (fileProgressFlag_get(FILEPROG_F4_ENTER_FF_CUTSCENE)) {
|
||||
func_80311480(0x1031, 0xF, this->position, this->marker, func_80392664, func_80392610);
|
||||
gcdialog_showText(0x1031, 0xF, this->position, this->marker, func_80392664, func_80392610);
|
||||
} else {
|
||||
func_802BC280();
|
||||
ncStaticCamera_setToNode(0x1F);
|
||||
func_80311480(0x102C, 0xE, this->position, this->marker, func_80392664, func_80392610);
|
||||
gcdialog_showText(0x102C, 0xE, this->position, this->marker, func_80392664, func_80392610);
|
||||
fileProgressFlag_set(FILEPROG_F4_ENTER_FF_CUTSCENE, TRUE);
|
||||
}
|
||||
mapSpecificFlags_set(4, 0);
|
||||
@@ -70,7 +70,7 @@ void func_80392700(Actor *this) {
|
||||
ncStaticCamera_setToNode(9);
|
||||
mapSpecificFlags_set(9, 1);
|
||||
func_8028F94C(2, this->position);
|
||||
func_80311480(0x103F, 0x2A, this->position, this->marker, func_80392690, func_80392610);
|
||||
gcdialog_showText(0x103F, 0x2A, this->position, this->marker, func_80392690, func_80392610);
|
||||
mapSpecificFlags_set(6, 0);
|
||||
subaddie_set_state_with_direction(this, 3, 0.0f, 1);
|
||||
actor_playAnimationOnce(this);
|
||||
|
@@ -22,7 +22,7 @@ void func_80392AF4(ActorMarker *marker, enum asset_e text_id, s32 arg2){
|
||||
|
||||
void func_80392B1C(ActorMarker *marker) {
|
||||
func_8028E6EC(0);
|
||||
func_80311480(0x1040, 8, NULL, marker, func_80392AB0, func_80392AF4);
|
||||
gcdialog_showText(0x1040, 8, NULL, marker, func_80392AB0, func_80392AF4);
|
||||
}
|
||||
|
||||
void func_80392B6C(Actor *this) {
|
||||
|
Reference in New Issue
Block a user