@@ -723,7 +723,7 @@ void daNpc_Tc_c::anmAtr(u16 i_msgStatus) {
723723 };
724724
725725 switch (i_msgStatus) {
726- case fopMsgStts_MSG_TYPING_e:
726+ case fopMsgStts_MSG_TYPING_e: {
727727 if (field_0x6C8) {
728728 return ;
729729 }
@@ -734,7 +734,7 @@ void daNpc_Tc_c::anmAtr(u16 i_msgStatus) {
734734 }
735735 mAnmPrmIdx = anm_atr[msgAnmAtr];
736736 break ;
737-
737+ }
738738 case fopMsgStts_MSG_DISPLAYED_e:
739739 field_0x6C8 = FALSE ;
740740 break ;
@@ -1278,7 +1278,7 @@ void daNpc_Tc_c::statusWalkToJail() {
12781278void daNpc_Tc_c::statusTalkNearJail () {
12791279 mTargetSpeed = 0 .0f ;
12801280 speedF = 0 .0f ;
1281- if (talk (1 ) == 0x12 ) {
1281+ if (talk (1 ) == fopMsgStts_BOX_CLOSED_e ) {
12821282 mStatus = STATUS_WAIT_NEAR_JAIL;
12831283 dComIfGp_event_reset ();
12841284 mTalkingNearJail = false ;
@@ -1391,7 +1391,7 @@ void daNpc_Tc_c::statusSitToStool() {
13911391
13921392/* 00002F94-00003028 .text statusTalk__10daNpc_Tc_cFv */
13931393void daNpc_Tc_c::statusTalk () {
1394- if (talk (1 ) != 0x12 ) {
1394+ if (talk (1 ) != fopMsgStts_BOX_CLOSED_e ) {
13951395 return ;
13961396 }
13971397
@@ -1415,7 +1415,7 @@ void daNpc_Tc_c::statusTalk() {
14151415
14161416/* 00003028-00003088 .text statusPayRupee__10daNpc_Tc_cFv */
14171417void daNpc_Tc_c::statusPayRupee () {
1418- if (talk (1 ) == 0x12 ) {
1418+ if (talk (1 ) == fopMsgStts_BOX_CLOSED_e ) {
14191419 dComIfGp_event_reset ();
14201420 mEventIdx = 9 ;
14211421 mStatus = STATUS_DEMO_PAY_RUPEE;
@@ -1433,7 +1433,7 @@ void daNpc_Tc_c::statusDemoPayRupee() {
14331433
14341434/* 000030F8-00003158 .text statusGetRupee__10daNpc_Tc_cFv */
14351435void daNpc_Tc_c::statusGetRupee () {
1436- if (talk (1 ) == 0x12 ) {
1436+ if (talk (1 ) == fopMsgStts_BOX_CLOSED_e ) {
14371437 dComIfGp_event_reset ();
14381438 mEventIdx = 8 ;
14391439 mStatus = STATUS_DEMO_GET_RUPEE;
@@ -1452,7 +1452,7 @@ void daNpc_Tc_c::statusDemoGetRupee() {
14521452
14531453/* 000031CC-0000322C .text statusMonumentComplete__10daNpc_Tc_cFv */
14541454void daNpc_Tc_c::statusMonumentComplete () {
1455- if (talk (1 ) == 0x12 ) {
1455+ if (talk (1 ) == fopMsgStts_BOX_CLOSED_e ) {
14561456 dComIfGp_event_reset ();
14571457 mEventIdx = 8 ;
14581458 mStatus = STATUS_DEMO_MONUMENT_COMPLETE;
0 commit comments