There is no bank!!

This commit is contained in:
Dragorn421 2025-05-27 19:07:52 +02:00
parent 6459f33800
commit a3f70887f0
No known key found for this signature in database
GPG Key ID: 381AEBAF3D429335
3 changed files with 8 additions and 5 deletions

View File

@ -10,6 +10,7 @@
#include "rand.h" #include "rand.h"
#include "sys_matrix.h" #include "sys_matrix.h"
#include "terminal.h" #include "terminal.h"
#include "translation.h"
#include "z_lib.h" #include "z_lib.h"
#include "z64draw.h" #include "z64draw.h"
#include "z64play.h" #include "z64play.h"
@ -402,7 +403,7 @@ void EnGirlA_InitItem(EnGirlA* this, PlayState* play) {
if (this->requiredObjectSlot < 0) { if (this->requiredObjectSlot < 0) {
Actor_Kill(&this->actor); Actor_Kill(&this->actor);
PRINTF_COLOR_ERROR(); PRINTF_COLOR_ERROR();
PRINTF("バンクが無いよ!!(%s)\n", sShopItemDescriptions[params]); PRINTF(T("バンクが無いよ!!(%s)\n", "There is no bank!! (%s)\n"), sShopItemDescriptions[params]);
PRINTF_RST(); PRINTF_RST();
ASSERT(0, "0", "../z_en_girlA.c", 1434); ASSERT(0, "0", "../z_en_girlA.c", 1434);
return; return;

View File

@ -14,6 +14,7 @@
#include "segmented_address.h" #include "segmented_address.h"
#include "sys_matrix.h" #include "sys_matrix.h"
#include "terminal.h" #include "terminal.h"
#include "translation.h"
#include "z_lib.h" #include "z_lib.h"
#include "z64play.h" #include "z64play.h"
#include "z64player.h" #include "z64player.h"
@ -71,8 +72,7 @@ void EnGuest_Init(Actor* thisx, PlayState* play) {
this->osAnimeObjectSlot = Object_GetSlot(&play->objectCtx, OBJECT_OS_ANIME); this->osAnimeObjectSlot = Object_GetSlot(&play->objectCtx, OBJECT_OS_ANIME);
if (this->osAnimeObjectSlot < 0) { if (this->osAnimeObjectSlot < 0) {
PRINTF_COLOR_ERROR(); PRINTF_COLOR_ERROR();
// "No such bank!!" PRINTF(T("%s[%d] : バンクが無いよ!!\n", "%s[%d] : There is no bank!!\n"), "../z_en_guest.c", 129);
PRINTF("%s[%d] : バンクが無いよ!!\n", "../z_en_guest.c", 129);
PRINTF_RST(); PRINTF_RST();
ASSERT(0, "0", "../z_en_guest.c", 132); ASSERT(0, "0", "../z_en_guest.c", 132);
} }

View File

@ -13,6 +13,7 @@
#include "segmented_address.h" #include "segmented_address.h"
#include "sfx.h" #include "sfx.h"
#include "terminal.h" #include "terminal.h"
#include "translation.h"
#include "z_lib.h" #include "z_lib.h"
#include "z64play.h" #include "z64play.h"
#include "z64player.h" #include "z64player.h"
@ -640,7 +641,7 @@ void EnOssan_Init(Actor* thisx, PlayState* play) {
if (this->objectSlot1 < 0) { if (this->objectSlot1 < 0) {
Actor_Kill(&this->actor); Actor_Kill(&this->actor);
PRINTF_COLOR_ERROR(); PRINTF_COLOR_ERROR();
PRINTF("バンクが無いよ!!(%s)\n", sShopkeeperPrintName[this->actor.params]); PRINTF(T("バンクが無いよ!!(%s)\n", "There is no bank!! (%s)\n"), sShopkeeperPrintName[this->actor.params]);
PRINTF_RST(); PRINTF_RST();
ASSERT(0, "0", "../z_en_oB1.c", 1284); ASSERT(0, "0", "../z_en_oB1.c", 1284);
return; return;
@ -649,7 +650,8 @@ void EnOssan_Init(Actor* thisx, PlayState* play) {
if (EnOssan_TryGetObjBankIndices(this, play, objectIds) == 0) { if (EnOssan_TryGetObjBankIndices(this, play, objectIds) == 0) {
Actor_Kill(&this->actor); Actor_Kill(&this->actor);
PRINTF_COLOR_ERROR(); PRINTF_COLOR_ERROR();
PRINTF("予備バンクが無いよ!!(%s)\n", sShopkeeperPrintName[this->actor.params]); PRINTF(T("予備バンクが無いよ!!(%s)\n", "There is no spare bank!! (%s)\n"),
sShopkeeperPrintName[this->actor.params]);
PRINTF_RST(); PRINTF_RST();
ASSERT(0, "0", "../z_en_oB1.c", 1295); ASSERT(0, "0", "../z_en_oB1.c", 1295);
return; return;