summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--constants/misc_constants.inc5
-rw-r--r--data/btl_attrs.s21
-rw-r--r--data/debug_mystery_event_scripts.s20
-rw-r--r--data/pokemon_storage_system.s2
4 files changed, 30 insertions, 18 deletions
diff --git a/constants/misc_constants.inc b/constants/misc_constants.inc
index bf90fcd1e..0111dbf63 100644
--- a/constants/misc_constants.inc
+++ b/constants/misc_constants.inc
@@ -33,6 +33,11 @@
.equiv FEMALE, 1
.ifdef ENGLISH
+
+ .ifdef DEBUG
+ .set DEBUG_TRANSLATE, 1
+ .endif
+
.equiv GAME_LANGUAGE, 2
.else
.ifdef GERMAN
diff --git a/data/btl_attrs.s b/data/btl_attrs.s
index 1c3d18bf6..287074137 100644
--- a/data/btl_attrs.s
+++ b/data/btl_attrs.s
@@ -105,7 +105,8 @@ gUnknown_Debug_821F5AC::
Str_821F624:: @ 0x821F624
.string "ーーーーーーーーーーーー$"
-.ifdef ENGLISH
+
+.ifdef DEBUG_TRANSLATE
str_821F631:: @ 0x821F631
.string "JUNICHI$"
@@ -138,7 +139,7 @@ debug_unk_0b::
@ 0x821F66D
.string "Connection error$"
-.else
+.else @ !DEBUG_TRANSLATE
str_821F631:: @ 0x821F631
.string "ジュンイチ$"
.string "ダイゴロウ$"
@@ -170,7 +171,7 @@ debug_unk_0b::
@ 0x821F66D
.string "せつぞくエラー$"
-.endif
+.endif @ !DEBUG_TRANSLATE
@ 0x821f675
.byte 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00
@@ -188,7 +189,8 @@ gUnknown_Debug_821F680::
gUnknown_Debug_821F798::
.byte 0xc0, 0x03, 0x00, 0x00, 0xd6, 0x03, 0x00, 0x00, 0x40, 0x04, 0x00, 0x00, 0x56, 0x04, 0x00, 0x00, 0xc0, 0x0b, 0x00, 0x00, 0xd6, 0x0b, 0x00, 0x00, 0x40, 0x0c, 0x00, 0x00, 0x56, 0x0c, 0x00, 0x00
-.ifdef ENGLISH
+
+.ifdef DEBUG_TRANSLATE
Str_821F7B8:: @ 0x821F7B8
.string "HEIGHT$"
@@ -203,7 +205,11 @@ Str_821F7DA:: @ 0x821F7DA
Str_821F7EA:: @ 0x821F7EA
.string "Would you like to load?$"
-.else
+@ 0x821F7F3
+gUnknown_Debug_821F7F3::
+ .string "Would you like to save?$"
+
+.else @ !DEBUG_TRANSLATE
Str_821F7B8:: @ 0x821F7B8
.string "たかさ $"
@@ -218,12 +224,13 @@ Str_821F7DA:: @ 0x821F7DA
Str_821F7EA:: @ 0x821F7EA
.string "ロードしますか?$"
-.endif
@ 0x821F7F3
gUnknown_Debug_821F7F3::
.string "セーブしますか?$"
-.endif
+.endif @ DEBUG_TRANSLATE
+
+.endif @ DEBUG
.align 2
gOamData_81F96E8:: @ 81F96E8
diff --git a/data/debug_mystery_event_scripts.s b/data/debug_mystery_event_scripts.s
index a2c436e3b..54ddb565d 100644
--- a/data/debug_mystery_event_scripts.s
+++ b/data/debug_mystery_event_scripts.s
@@ -26,7 +26,7 @@ _0845DAFF:
me_runscript _0845DD0D
me_end
-.ifdef ENGLISH
+.ifdef DEBUG_TRANSLATE
_0845DB16:
.string "Run and visit your DAD in the\n"
.string "PETALBURG CITY GYM.$"
@@ -70,7 +70,7 @@ _0845DBB5:
release
end
-.ifdef ENGLISH
+.ifdef DEBUG_TRANSLATE
_0845DBBE:
.string "DAD: {PLAYER}! Nice to see you!\n"
.string "Here is a Letter for you, {PLAYER}.$"
@@ -85,7 +85,7 @@ _0845DC94:
.string "in your BAG is full.\p"
.string "Store some of your KEY ITEMS in\n"
.string "the PC and come back later.$"
-.else
+.else @ !DEBUG_TRANSLATE
_0845DBBE:
.string "VATER: {PLAYER}! Schön, dich zu sehen!\n"
.string "Hier ist ein Brief für dich, {PLAYER}.$"
@@ -100,7 +100,7 @@ _0845DC94:
.string "deines BEUTELS ist voll.\p"
.string "Lagere einige deiner Basis-Items in\n"
.string "deinem PC und komm dann wieder.$"
-.endif
+.endif @ !DEBUG_TRANSLATE
_845DB56End:
.size _845DB56, _845DB56End - _845DB56
@@ -132,7 +132,7 @@ _0845DD5B:
setmysteryeventstatus 0x3
end
-.ifdef ENGLISH
+.ifdef DEBUG_TRANSLATE
_0845DD63:
.string "This GIFT can only be used\n"
.string "once.$"
@@ -183,7 +183,7 @@ _0845E34C:
setmysteryeventstatus 0x3
end
-.ifdef ENGLISH
+.ifdef DEBUG_TRANSLATE
_0845E34F:
.string "A POKéMON was added to {PLAYER}'s\n"
.string "team.$"
@@ -273,7 +273,7 @@ _0845E637:
me_setstatus 0x2
me_end
-.ifdef ENGLISH
+.ifdef DEBUG_TRANSLATE
_0845E64C:
.string "Visit your DAD in the PETALBURG\n"
@@ -305,7 +305,7 @@ _0845E683:
_0845E6BF:
gotoram
-.ifdef ENGLISH
+.ifdef DEBUG_TRANSLATE
_0845E6C0:
.string "DAD: Hi, {PLAYER}!\p"
.string "I have just received this rare\n"
@@ -345,7 +345,7 @@ _0845E755:
setmysteryeventstatus 0x3
end
-.ifdef ENGLISH
+.ifdef DEBUG_TRANSLATE
_0845E75D:
.string "{STR_VAR_1} was handed over.$"
_0845E771:
@@ -373,4 +373,4 @@ gUnknown_Debug_845E7B5End:
.size gUnknown_Debug_845E7B5, gUnknown_Debug_845E7B5End - gUnknown_Debug_845E7B5
gUnknown_Debug_845E797End::
-.endif
+.endif @ DEBUG
diff --git a/data/pokemon_storage_system.s b/data/pokemon_storage_system.s
index 72a53d673..5df403631 100644
--- a/data/pokemon_storage_system.s
+++ b/data/pokemon_storage_system.s
@@ -73,7 +73,7 @@ gSpriteTemplate_83BBC88:: @ 83BBC88
spr_template 1, 56006, gOamData_83BBC34, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, sub_809CB74
.if DEBUG
-.ifdef ENGLISH
+.ifdef DEBUG_TRANSLATE
gUnknown_Debug_0x83E6268:: @ 0x83E6268
.string "SET$"
.else