1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-03 06:24:30 +00:00

Cleanup translation comments (#924)

* `// Translates to:` -> `//`

* `// Translation: ([^"].*)` -> `// "$1"`

* Manual cleanup

* Manual cleanup in `src/code/`

* Use more lowercase for some all caps translations

* Move translations to end of lines where it fits under 100 bytes

* Move one translation to end of line manually

* Run formatter

* Cleanup in EnHeishi1 as suggested by Roman

* Update src/code/z_play.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
This commit is contained in:
Dragorn421 2021-09-04 15:33:19 +02:00 committed by GitHub
parent 9b840ad842
commit 81830a6e8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
70 changed files with 348 additions and 440 deletions

View file

@ -57,8 +57,7 @@ void ArrowFire_Init(Actor* thisx, GlobalContext* globalCtx) {
void ArrowFire_Destroy(Actor* thisx, GlobalContext* globalCtx) {
func_800876C8(globalCtx);
// Translates to: "Disappearance"
LOG_STRING("消滅", "../z_arrow_fire.c", 421);
LOG_STRING("消滅", "../z_arrow_fire.c", 421); // "Disappearance"
}
void ArrowFire_Charge(ArrowFire* this, GlobalContext* globalCtx) {

View file

@ -58,8 +58,7 @@ void ArrowIce_Init(Actor* thisx, GlobalContext* globalCtx) {
void ArrowIce_Destroy(Actor* thisx, GlobalContext* globalCtx) {
func_800876C8(globalCtx);
// Translates to: "Disappearance"
LOG_STRING("消滅", "../z_arrow_ice.c", 415);
LOG_STRING("消滅", "../z_arrow_ice.c", 415); // "Disappearance"
}
void ArrowIce_Charge(ArrowIce* this, GlobalContext* globalCtx) {

View file

@ -58,8 +58,7 @@ void ArrowLight_Init(Actor* thisx, GlobalContext* globalCtx) {
void ArrowLight_Destroy(Actor* thisx, GlobalContext* globalCtx) {
func_800876C8(globalCtx);
// Translates to: "Disappearance"
LOG_STRING("消滅", "../z_arrow_light.c", 403);
LOG_STRING("消滅", "../z_arrow_light.c", 403); // "Disappearance"
}
void ArrowLight_Charge(ArrowLight* this, GlobalContext* globalCtx) {

View file

@ -180,12 +180,12 @@ void BgHidanHamstep_Init(Actor* thisx, GlobalContext* globalCtx) {
this->dyna.actor.minVelocityY = -12.0f;
if ((this->dyna.actor.params & 0xFF) == 0) {
// Translation: Fire Temple Object [Hammer Step] appears
// "Fire Temple Object [Hammer Step] appears"
osSyncPrintf("◯◯◯炎の神殿オブジェクト【ハンマーステップ】出現\n");
if (BgHidanHamstep_SpawnChildren(this, globalCtx) == 0) {
step = this;
// Translation: [Hammer Step] I can't create a step!
// "[Hammer Step] I can't create a step!"
osSyncPrintf("【ハンマーステップ】 足場産れない!!\n");
osSyncPrintf("%s %d\n", "../z_bg_hidan_hamstep.c", 425);
@ -349,7 +349,7 @@ void func_80888A58(BgHidanHamstep* this, GlobalContext* globalCtx) {
func_80888694(this, (BgHidanHamstep*)this->dyna.actor.parent);
if (((this->dyna.actor.params & 0xFF) <= 0) || ((this->dyna.actor.params & 0xFF) >= 6)) {
// Translation: [Hammer Step] arg_data strange (arg_data = %d)
// "[Hammer Step] arg_data strange (arg_data = %d)"
osSyncPrintf("【ハンマーステップ】 arg_data おかしい (arg_data = %d)", this->dyna.actor.params);
osSyncPrintf("%s %d\n", "../z_bg_hidan_hamstep.c", 696);
}

View file

@ -119,8 +119,7 @@ void BgHidanKowarerukabe_Init(Actor* thisx, GlobalContext* globalCtx) {
if (((this->dyna.actor.params & 0xFF) < CRACKED_STONE_FLOOR) ||
((this->dyna.actor.params & 0xFF) > LARGE_BOMBABLE_WALL)) {
// Translation: Error: Fire Temple Breakable Walls. arg_data I can't determine the (%s %d)(arg_data
// 0x%04x)
// "Error: Fire Temple Breakable Walls. arg_data I can't determine the (%s %d)(arg_data 0x%04x)"
osSyncPrintf("Error : 炎の神殿 壊れる壁 の arg_data が判別出来ない(%s %d)(arg_data 0x%04x)\n",
"../z_bg_hidan_kowarerukabe.c", 254, this->dyna.actor.params);
Actor_Kill(&this->dyna.actor);
@ -136,7 +135,7 @@ void BgHidanKowarerukabe_Init(Actor* thisx, GlobalContext* globalCtx) {
Actor_SetScale(&this->dyna.actor, 0.1f);
BgHidanKowarerukabe_InitColliderSphere(this, globalCtx);
BgHidanKowarerukabe_OffsetActorYPos(this);
// Translation: (fire walls, floors, destroyed by bombs)(arg_data 0x%04x)
// "(fire walls, floors, destroyed by bombs)(arg_data 0x%04x)"
osSyncPrintf("(hidan 爆弾で壊れる 壁 床)(arg_data 0x%04x)\n", this->dyna.actor.params);
}

View file

@ -91,7 +91,7 @@ void BgZg_Update(Actor* thisx, GlobalContext* globalCtx) {
s32 action = this->action;
if (((action < 0) || (1 < action)) || (sActionFuncs[action] == NULL)) {
// Translates to: "Main Mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!"
// "Main Mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!"
osSyncPrintf(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
} else {
sActionFuncs[action](this, globalCtx);
@ -139,7 +139,7 @@ void BgZg_Draw(Actor* thisx, GlobalContext* globalCtx) {
s32 drawConfig = this->drawConfig;
if (((drawConfig < 0) || (drawConfig > 0)) || sDrawFuncs[drawConfig] == NULL) {
// Translates to: "Drawing mode is wrong !!!!!!!!!!!!!!!!!!!!!!!!!"
// "Drawing mode is wrong !!!!!!!!!!!!!!!!!!!!!!!!!"
osSyncPrintf(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
} else {
sDrawFuncs[drawConfig](this, globalCtx);

View file

@ -99,16 +99,14 @@ s32 ElfMsg_KillCheck(ElfMsg* this, GlobalContext* globalCtx) {
if ((this->actor.world.rot.y > 0) && (this->actor.world.rot.y < 0x41) &&
(Flags_GetSwitch(globalCtx, this->actor.world.rot.y - 1))) {
// "Mutual destruction"
LOG_STRING("共倒れ", "../z_elf_msg.c", 161);
LOG_STRING("共倒れ", "../z_elf_msg.c", 161); // "Mutual destruction"
if (((this->actor.params >> 8) & 0x3F) != 0x3F) {
Flags_SetSwitch(globalCtx, ((this->actor.params >> 8) & 0x3F));
}
Actor_Kill(&this->actor);
return 1;
} else if ((this->actor.world.rot.y == -1) && (Flags_GetClear(globalCtx, this->actor.room))) {
// "Mutual destruction"
LOG_STRING("共倒れ", "../z_elf_msg.c", 172);
LOG_STRING("共倒れ", "../z_elf_msg.c", 172); // "Mutual destruction"
if (((this->actor.params >> 8) & 0x3F) != 0x3F) {
Flags_SetSwitch(globalCtx, ((this->actor.params >> 8) & 0x3F));
}

View file

@ -76,16 +76,14 @@ s32 ElfMsg2_KillCheck(ElfMsg2* this, GlobalContext* globalCtx) {
if ((this->actor.world.rot.y > 0) && (this->actor.world.rot.y < 0x41) &&
(Flags_GetSwitch(globalCtx, this->actor.world.rot.y - 1))) {
// "Mutual destruction"
LOG_STRING("共倒れ", "../z_elf_msg2.c", 171);
LOG_STRING("共倒れ", "../z_elf_msg2.c", 171); // "Mutual destruction"
if (((this->actor.params >> 8) & 0x3F) != 0x3F) {
Flags_SetSwitch(globalCtx, ((this->actor.params >> 8) & 0x3F));
}
Actor_Kill(&this->actor);
return 1;
} else if ((this->actor.world.rot.y == -1) && (Flags_GetClear(globalCtx, this->actor.room))) {
// "Mutual destruction 2"
LOG_STRING("共倒れ2", "../z_elf_msg2.c", 182);
LOG_STRING("共倒れ2", "../z_elf_msg2.c", 182); // "Mutual destruction 2"
if (((this->actor.params >> 8) & 0x3F) != 0x3F) {
Flags_SetSwitch(globalCtx, ((this->actor.params >> 8) & 0x3F));
}
@ -94,8 +92,7 @@ s32 ElfMsg2_KillCheck(ElfMsg2* this, GlobalContext* globalCtx) {
} else if (((this->actor.params >> 8) & 0x3F) == 0x3F) {
return 0;
} else if (Flags_GetSwitch(globalCtx, ((this->actor.params >> 8) & 0x3F))) {
// "Mutual destruction"
LOG_STRING("共倒れ", "../z_elf_msg2.c", 192);
LOG_STRING("共倒れ", "../z_elf_msg2.c", 192); // "Mutual destruction"
Actor_Kill(&this->actor);
return 1;
}

View file

@ -66,7 +66,7 @@ void EnEg_Update(Actor* thisx, GlobalContext* globalCtx) {
s32 action = this->action;
if (((action < 0) || (0 < action)) || (sActionFuncs[action] == NULL)) {
// Translates to: "Main Mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!"
// "Main Mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!"
osSyncPrintf(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
} else {
sActionFuncs[action](this, globalCtx);

View file

@ -331,8 +331,7 @@ void EnExRuppy_WaitToBlowUp(EnExRuppy* this, GlobalContext* globalCtx) {
// "That idiot! error"
osSyncPrintf(VT_FGCOL(GREEN) "☆☆☆☆☆ そ、そんなばかな!エラー!!!!! ☆☆☆☆☆ \n" VT_RST);
}
// "Stupid!"
osSyncPrintf(VT_FGCOL(GREEN) "☆☆☆☆☆ バカめ! ☆☆☆☆☆ \n" VT_RST);
osSyncPrintf(VT_FGCOL(GREEN) "☆☆☆☆☆ バカめ! ☆☆☆☆☆ \n" VT_RST); // "Stupid!"
explosionScale = 100;
explosionScaleStep = 30;
if (this->type == 2) {

View file

@ -120,8 +120,7 @@ void EnFhgFire_Init(Actor* thisx, GlobalContext* globalCtx) {
this->collider.dim.height = this->actor.world.rot.x * 0.13f;
this->collider.dim.yShift = 0;
} else if (this->actor.params == FHGFIRE_SPEAR_LIGHT) {
// "light spear"
osSyncPrintf("yari hikari ct 1\n");
osSyncPrintf("yari hikari ct 1\n"); // "light spear"
EnFhgFire_SetUpdate(this, EnFhgFire_SpearLight);
osSyncPrintf("yari hikari ct 2\n");
this->work[FHGFIRE_TIMER] = this->actor.world.rot.x;

View file

@ -235,7 +235,7 @@ void EnFr_Init(Actor* thisx, GlobalContext* globalCtx) {
} else {
if ((this->actor.params >= 6) || (this->actor.params < 0)) {
osSyncPrintf(VT_COL(RED, WHITE));
// Translation: The argument is wrong!!
// "The argument is wrong!!"
osSyncPrintf("%s[%d] : 引数が間違っている!!(%d)\n", "../z_en_fr.c", 370, this->actor.params);
osSyncPrintf(VT_RST);
ASSERT(0, "0", "../z_en_fr.c", 372);
@ -245,7 +245,7 @@ void EnFr_Init(Actor* thisx, GlobalContext* globalCtx) {
if (this->objBankIndex < 0) {
Actor_Kill(&this->actor);
osSyncPrintf(VT_COL(RED, WHITE));
// Translation: There is no bank!!
// "There is no bank!!"
osSyncPrintf("%s[%d] : バンクが無いよ!!\n", "../z_en_fr.c", 380);
osSyncPrintf(VT_RST);
ASSERT(0, "0", "../z_en_fr.c", 382);
@ -979,7 +979,7 @@ void EnFr_Deactivate(EnFr* this, GlobalContext* globalCtx) {
frogLoop1 = sEnFrPointers.frogs[frogIndex];
if (frogLoop1 == NULL) {
osSyncPrintf(VT_COL(RED, WHITE));
// Translation: There are no frogs!?
// "There are no frogs!?"
osSyncPrintf("%s[%d]カエルがいない!?\n", "../z_en_fr.c", 1604);
osSyncPrintf(VT_RST);
return;
@ -992,7 +992,7 @@ void EnFr_Deactivate(EnFr* this, GlobalContext* globalCtx) {
frogLoop2 = sEnFrPointers.frogs[frogIndex];
if (frogLoop2 == NULL) {
osSyncPrintf(VT_COL(RED, WHITE));
// Translation: There are no frogs!?
// "There are no frogs!?"
osSyncPrintf("%s[%d]カエルがいない!?\n", "../z_en_fr.c", 1618);
osSyncPrintf(VT_RST);
return;

View file

@ -244,7 +244,7 @@ s32 EnGoroiwa_GetAscendDirection(EnGoroiwa* this, GlobalContext* globalCtx) {
if (nextPointPos->x == currentPointPos->x && nextPointPos->z == currentPointPos->z) {
if (nextPointPos->y == currentPointPos->y) {
// Translation: Error: Invalid path data (points overlap)
// "Error: Invalid path data (points overlap)"
osSyncPrintf("Error : レールデータ不正(点が重なっている)");
osSyncPrintf("(%s %d)(arg_data 0x%04x)\n", "../z_en_gr.c", 559, this->actor.params);
}
@ -536,14 +536,14 @@ void EnGoroiwa_Init(Actor* thisx, GlobalContext* globalCtx) {
EnGoroiwa_InitCollider(this, globalCtx);
pathIdx = this->actor.params & 0xFF;
if (pathIdx == 0xFF) {
// Translation: Error: Invalid arg_data
// "Error: Invalid arg_data"
osSyncPrintf(" : arg_data が不正(%s %d)(arg_data 0x%04x)\n", "../z_en_gr.c", 1033,
this->actor.params);
Actor_Kill(&this->actor);
return;
}
if (globalCtx->setupPathList[pathIdx].count < 2) {
// Translation: Error: Invalid Path Data
// "Error: Invalid Path Data"
osSyncPrintf(" : レールデータ が不正(%s %d)\n", "../z_en_gr.c", 1043);
Actor_Kill(&this->actor);
return;
@ -557,7 +557,7 @@ void EnGoroiwa_Init(Actor* thisx, GlobalContext* globalCtx) {
EnGoroiwa_InitRotation(this);
EnGoroiwa_FaceNextWaypoint(this, globalCtx);
EnGoroiwa_SetupRoll(this);
// Translation: (Goroiwa)
// "(Goroiwa)"
osSyncPrintf("(ごろ岩)(arg 0x%04x)(rail %d)(end %d)(bgc %d)(hit %d)\n", this->actor.params,
this->actor.params & 0xFF, (this->actor.params >> 8) & 3, (this->actor.params >> 10) & 1,
this->actor.home.rot.z & 1);
@ -597,8 +597,7 @@ void EnGoroiwa_Roll(EnGoroiwa* this, GlobalContext* globalCtx) {
}
func_8002F6D4(globalCtx, &this->actor, 2.0f, this->actor.yawTowardsPlayer, 0.0f, 0);
osSyncPrintf(VT_FGCOL(CYAN));
// Translation: Player knocked down
osSyncPrintf("Player ぶっ飛ばし\n");
osSyncPrintf("Player ぶっ飛ばし\n"); // "Player knocked down"
osSyncPrintf(VT_RST);
onHitSetupFuncs[(this->actor.params >> 10) & 1](this);
func_8002F7DC(&GET_PLAYER(globalCtx)->actor, NA_SE_PL_BODY_HIT);

View file

@ -70,7 +70,6 @@ void EnHeishi1_Init(Actor* thisx, GlobalContext* globalCtx) {
EnHeishi1* this = THIS;
Vec3f rupeePos;
s32 i;
u16 time;
Actor_SetScale(&this->actor, 0.01f);
SkelAnime_Init(globalCtx, &this->skelAnime, &gEnHeishiSkel, &gEnHeishiIdleAnim, this->jointTable, this->morphTable,
@ -102,12 +101,8 @@ void EnHeishi1_Init(Actor* thisx, GlobalContext* globalCtx) {
osSyncPrintf(VT_FGCOL(PURPLE) " (頭)反転アングルスピード加算値 %f\n" VT_RST, this->headTurnSpeedScale);
// "(head) maximum turning angle speed"
osSyncPrintf(VT_FGCOL(PURPLE) " (頭)反転アングルスピード最大☆ %f\n" VT_RST, this->headTurnSpeedMax);
// "current time"
// clang-format off
time = gSaveContext.dayTime; osSyncPrintf(VT_FGCOL(GREEN) " 今時間 %d\n" VT_RST, time);
// clang-format on
// "check time"
osSyncPrintf(VT_FGCOL(YELLOW) " チェック時間 %d\n" VT_RST, 0xBAAA);
osSyncPrintf(VT_FGCOL(GREEN) " 今時間 %d\n" VT_RST, ((void)0, gSaveContext.dayTime)); // "current time"
osSyncPrintf(VT_FGCOL(YELLOW) " チェック時間 %d\n" VT_RST, 0xBAAA); // "check time"
osSyncPrintf("\n\n");
if (this->path == 3) {
@ -379,8 +374,7 @@ void EnHeishi1_WaitNight(EnHeishi1* this, GlobalContext* globalCtx) {
if (this->actor.xzDistToPlayer < 100.0f) {
func_8010B680(globalCtx, 0x702D, &this->actor);
func_80078884(NA_SE_SY_FOUND);
// "Discovered!"
osSyncPrintf(VT_FGCOL(GREEN) "☆☆☆☆☆ 発見! ☆☆☆☆☆ \n" VT_RST);
osSyncPrintf(VT_FGCOL(GREEN) "☆☆☆☆☆ 発見! ☆☆☆☆☆ \n" VT_RST); // "Discovered!"
func_8002DF54(globalCtx, &this->actor, 1);
this->actionFunc = EnHeishi1_SetupKick;
}

View file

@ -174,8 +174,7 @@ void EnIceHono_Init(Actor* thisx, GlobalContext* globalCtx) {
this->lightNode = LightContext_InsertLight(globalCtx, &globalCtx->lightCtx, &this->lightInfo);
this->unk_154 = Rand_ZeroOne() * (0x1FFFF / 2.0f);
this->unk_156 = Rand_ZeroOne() * (0x1FFFF / 2.0f);
// Translates to: "(ice flame)"
osSyncPrintf("(ice 炎)(arg_data 0x%04x)\n", this->actor.params);
osSyncPrintf("(ice 炎)(arg_data 0x%04x)\n", this->actor.params); // "(ice flame)"
}
}
@ -361,8 +360,7 @@ void EnIceHono_Update(Actor* thisx, GlobalContext* globalCtx) {
sin154 = Math_SinS(this->unk_154);
intensity = (Rand_ZeroOne() * 0.05f) + ((sin154 * 0.125f) + (sin156 * 0.1f)) + 0.425f;
if ((intensity > 0.7f) || (intensity < 0.2f)) {
// Translates to: "impossible value(ratio = %f)"
osSyncPrintf("ありえない値(ratio = %f)\n", intensity);
osSyncPrintf("ありえない値(ratio = %f)\n", intensity); // "impossible value(ratio = %f)"
}
Lights_PointNoGlowSetInfo(&this->lightInfo, this->actor.world.pos.x, (s16)this->actor.world.pos.y + 10,
this->actor.world.pos.z, (s32)(155.0f * intensity), (s32)(210.0f * intensity),

View file

@ -127,7 +127,7 @@ s32 EnIshi_SnapToFloor(EnIshi* this, GlobalContext* globalCtx, f32 arg2) {
return true;
} else {
osSyncPrintf(VT_COL(YELLOW, BLACK));
// Translation: Failure attaching to ground
// "Failure attaching to ground"
osSyncPrintf("地面に付着失敗(%s %d)\n", "../z_en_ishi.c", 388);
osSyncPrintf(VT_RST);
return false;

View file

@ -71,7 +71,7 @@ void EnKakasi3_Init(Actor* thisx, GlobalContext* globalCtx) {
EnKakasi3* this = THIS;
osSyncPrintf("\n\n");
// Translates to: Obonur -- Related to the name of the scarecrow (Bonooru)
// "Obonur" -- Related to the name of the scarecrow (Bonooru)
osSyncPrintf(VT_FGCOL(YELLOW) "☆☆☆☆☆ おーボヌール ☆☆☆☆☆ \n" VT_RST);
this->actor.targetMode = 6;

View file

@ -118,7 +118,7 @@ s32 EnKusa_SnapToFloor(EnKusa* this, GlobalContext* globalCtx, f32 yOffset) {
return true;
} else {
osSyncPrintf(VT_COL(YELLOW, BLACK));
// Translation: Failure attaching to ground
// "Failure attaching to ground"
osSyncPrintf("地面に付着失敗(%s %d)\n", "../z_en_kusa.c", 323);
osSyncPrintf(VT_RST);
return false;

View file

@ -873,7 +873,7 @@ void EnNb_CheckConfrontationCsMode(EnNb* this, GlobalContext* globalCtx) {
EnNb_SetupConfrontationDestroy(this);
break;
default:
// "En_Nb_Confrontion_Check_DemoMode: OPERATION DOESN'T EXIST!!!!!!!!"
// "En_Nb_Confrontion_Check_DemoMode: Operation doesn't exist!!!!!!!!"
osSyncPrintf("En_Nb_Confrontion_Check_DemoMode:そんな動作は無い!!!!!!!!\n");
break;
}
@ -1060,7 +1060,7 @@ void EnNb_CheckCreditsCsModeImpl(EnNb* this, GlobalContext* globalCtx) {
EnNb_SetupCreditsHeadTurn(this);
break;
default:
// "En_Nb_inEnding_Check_DemoMode: OPERATION DOESN'T EXIST!!!!!!!!"
// "En_Nb_inEnding_Check_DemoMode: Operation doesn't exist!!!!!!!!"
osSyncPrintf("En_Nb_inEnding_Check_DemoMode:そんな動作は無い!!!!!!!!\n");
break;
}

View file

@ -81,9 +81,8 @@ void EnOkarinaEffect_ManageStorm(EnOkarinaEffect* this, GlobalContext* globalCtx
}
osSyncPrintf("\nthis->timer=[%d]", this->timer);
if (this->timer == 308) {
// "Let's grow some beans"
osSyncPrintf("\n\n\n豆よ のびろ 指定\n\n\n");
Flags_SetEnv(globalCtx, 5); // set storms env flag
osSyncPrintf("\n\n\n豆よ のびろ 指定\n\n\n"); // "Let's grow some beans"
Flags_SetEnv(globalCtx, 5); // set storms env flag
}
}

View file

@ -313,8 +313,7 @@ void EnSb_Bounce(EnSb* this, GlobalContext* globalCtx) {
this->actor.speedXZ = 0.0f;
this->timer = 1;
EnSb_SetupWaitClosed(this);
// "Attack Complete!"
osSyncPrintf(VT_FGCOL(RED) "攻撃終了!!" VT_RST "\n");
osSyncPrintf(VT_FGCOL(RED) "攻撃終了!!" VT_RST "\n"); // "Attack Complete!"
}
}
}

View file

@ -98,18 +98,17 @@ void EnSth_Init(Actor* thisx, GlobalContext* globalCtx) {
s32 params = this->actor.params;
s32 objectBankIdx;
// Translation: Gold Skulltula Shop
osSyncPrintf(VT_FGCOL(BLUE) "金スタル屋 no = %d\n" VT_RST, params);
osSyncPrintf(VT_FGCOL(BLUE) "金スタル屋 no = %d\n" VT_RST, params); // "Gold Skulltula Shop"
if (this->actor.params == 0) {
if (gSaveContext.inventory.gsTokens < 100) {
Actor_Kill(&this->actor);
// Translation: Gold Skulltula Shop I still can't be a human
// "Gold Skulltula Shop I still can't be a human"
osSyncPrintf("金スタル屋 まだ 人間に戻れない \n");
return;
}
} else if (gSaveContext.inventory.gsTokens < (this->actor.params * 10)) {
Actor_Kill(&this->actor);
// Translation: Gold Skulltula Shop I still can't be a human
// "Gold Skulltula Shop I still can't be a human"
osSyncPrintf(VT_FGCOL(BLUE) "金スタル屋 まだ 人間に戻れない \n" VT_RST);
return;
}

View file

@ -2399,7 +2399,7 @@ void EnXc_Draw(Actor* thisx, GlobalContext* globalCtx) {
EnXc* this = THIS;
if (this->drawMode < 0 || this->drawMode > 5 || sDrawFuncs[this->drawMode] == NULL) {
// "DRAW MODE IS ABNORMAL!!!!!!!!!!!!!!!!!!!!!!!!!"
// "Draw mode is abnormal!!!!!!!!!!!!!!!!!!!!!!!!!"
osSyncPrintf(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
} else {
sDrawFuncs[this->drawMode](thisx, globalCtx);

View file

@ -34,12 +34,12 @@ void ObjMakekinsuta_Init(Actor* thisx, GlobalContext* globalCtx) {
if ((this->actor.params & 0x6000) == 0x4000) {
osSyncPrintf(VT_FGCOL(BLUE));
// Translation: Gold Star Enemy(arg_data %x)
// "Gold Star Enemy(arg_data %x)"
osSyncPrintf("金スタ発生敵(arg_data %x)\n", this->actor.params);
osSyncPrintf(VT_RST);
} else {
osSyncPrintf(VT_COL(YELLOW, BLACK));
// Translation: Invalid Argument (arg_data %x)(%s %d)
// "Invalid Argument (arg_data %x)(%s %d)"
osSyncPrintf("引数不正 (arg_data %x)(%s %d)\n", this->actor.params, "../z_obj_makekinsuta.c", 119);
osSyncPrintf(VT_RST);
}

View file

@ -72,7 +72,7 @@ s32 ObjMure_SetCullingImpl(Actor* thisx, GlobalContext* globalCtx) {
result = true;
break;
default:
// Translation: "Error : Culling is not set.(%s %d)(arg_data 0x%04x)"
// "Error : Culling is not set.(%s %d)(arg_data 0x%04x)"
osSyncPrintf("Error : カリングの設定がされていません。(%s %d)(arg_data 0x%04x)\n", "../z_obj_mure.c", 204,
this->actor.params);
return false;
@ -142,7 +142,7 @@ void ObjMure_SpawnActors0(ObjMure* this, GlobalContext* globalCtx) {
for (i = 0; i < maxChildren; i++) {
if (this->children[i] != NULL) {
// Translation: "Error: I already have a child(%s %d)(arg_data 0x%04x)
// "Error: I already have a child(%s %d)(arg_data 0x%04x)"
osSyncPrintf("Error : 既に子供がいる(%s %d)(arg_data 0x%04x)\n", "../z_obj_mure.c", 333,
this->actor.params);
}

View file

@ -113,7 +113,7 @@ void ObjMure2_SpawnActors(ObjMure2* this, GlobalContext* globalCtx) {
for (i = 0; i < D_80B9A818[actorNum]; i++) {
if (this->actorSpawnPtrList[i] != NULL) {
// Translation: Warning : I already have a child (%s %d)(arg_data 0x%04x)
// "Warning : I already have a child (%s %d)(arg_data 0x%04x)"
osSyncPrintf("Warning : 既に子供がいる(%s %d)(arg_data 0x%04x)\n", "../z_obj_mure2.c", 269,
this->actor.params);
continue;

View file

@ -58,7 +58,7 @@ void ShotSun_Init(Actor* thisx, GlobalContext* globalCtx) {
ShotSun* this = THIS;
s32 params;
// Translation: Ocarina secret occurrence
// "Ocarina secret occurrence"
osSyncPrintf("%d ---- オカリナの秘密発生!!!!!!!!!!!!!\n", this->actor.params);
params = this->actor.params & 0xFF;
if (params == 0x40 || params == 0x41) {

View file

@ -29,8 +29,7 @@ u32 EffectSsDeadSound_Init(GlobalContext* globalCtx, u32 index, EffectSs* this,
this->update = EffectSsDeadSound_Update;
this->rRepeatMode = initParams->repeatMode;
this->rSfxId = initParams->sfxId;
// "constructor 3"
osSyncPrintf("コンストラクター3\n");
osSyncPrintf("コンストラクター3\n"); // "constructor 3"
return 1;
}