summaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-06-09 22:54:21 -0500
committerGitHub <noreply@github.com>2021-06-09 22:54:21 -0500
commit377bd14ea67d6177250fb401e12d7dfcf44e2cf6 (patch)
tree5440970e02a7890791b234aa233e91e5c1d65b40 /src/debug.c
parenteaa141c612dd1689936a21bd57018a55ff686b69 (diff)
Dungeon pokemon/Floor ID JSON Part 1 (#39)
* move Thunderwave and Tiny Woods pokemon to json * rule tweaking to actually build tool before parsing JSON * delete .inc pokemon for tiny Woods and Thunderwave * silence git complaining about br_ips and ips_patch * use defines for species and pass the header file for species * convert sinister woods * convert MtThunderPeak * convert silent chasm * add trial floor_id w/ tiny woods * change make rule name to fix compile * MtSteel converted and bugfix * convert few floor headers and great canyon pokemon * code cleanup * unify unkData into UnkTextStruct2 * more code cleanup and some text decomp * doc more funcs and decomp/split some stuff * document more save stuff * more save work and move some data * pika sniped UpdateNatureTotal * decomp a litle and convert a few more dungeons * better scanning for json files * mt freeze and peak
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c49
1 files changed, 42 insertions, 7 deletions
diff --git a/src/debug.c b/src/debug.c
index 0f4cf35..59fdc1a 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -9,14 +9,49 @@ extern void Hang();
extern bool32 gNDS_DebugEnabled;
extern u8 gUnknown_203B150;
-extern const char gUnknown_80D421C[];
-extern const char gNotMountText[];
-extern const char gNotEntryText[];
extern const char gFuncFileLineString[];
-extern const char gFuncFileLineStringWPrefix[];
-extern const char gFuncFileLineString2[];
-extern const char gFatalText[];
-extern const char gUnknown_80D42D4[];
+
+ALIGNED(4) const char gNotEntryText[] = _("--- not entry ---");
+ALIGNED(4) const char gFuncFileLineStringWPrefix[] = _("%sfunc = '%s'\n"
+ "file = '%s' line = %5d\n");
+
+ALIGNED(4) const char gFuncFileLineString2[] = _("func = '%s'\n"
+ "file = '%s' line = %5d\n");
+
+ALIGNED(4) const char debug_fill14[] = _("pksdir0");
+ALIGNED(4) const char gUnknown_80D421C[] = _(" Print ");
+ALIGNED(4) const char debug_fill13[] = _("pksdir0");
+
+ALIGNED(4) const char Performance_Text[] = _("Performance");
+ALIGNED(4) const char MemoryCard_Text[] = _("Memory Card");
+ALIGNED(4) const char Memory_Text[] = _("Memory");
+ALIGNED(4) const char Flag_Text[] = _("Flag");
+ALIGNED(4) const char Se_Text[] = _("Se");
+ALIGNED(4) const char Bgm_Text[] = _("Bgm");
+ALIGNED(4) const char Sound_Text[] = _("Sound");
+ALIGNED(4) const char Dungeon_Text[] = _("Dungeon");
+ALIGNED(4) const char GroundScript_Text[] = _("GroundScript");
+ALIGNED(4) const char Ground_Text[] = _("Ground");
+
+
+ALIGNED(4) const char gNotMountText[] = _("not mount log system");
+ALIGNED(4) const char debug_fill9[] = _("pksdir0");
+ALIGNED(4) const char debug_fill10[] = _("pksdir0");
+ALIGNED(4) const char debug_fill11[] = _("pksdir0");
+ALIGNED(4) const char debug_fill12[] = _("pksdir0");
+
+ALIGNED(4) const char gFatalText[] = _("!!!!! Fatal !!!!!\n");
+ALIGNED(4) const char gUnknown_80D42D4[] = _("%s\n");
+
+ALIGNED(4) const char debug_fill0[] = _("pksdir0");
+ALIGNED(4) const char debug_fill1[] = _("pksdir0");
+ALIGNED(4) const char debug_fill2[] = _("pksdir0");
+ALIGNED(4) const char debug_fill3[] = _("pksdir0");
+ALIGNED(4) const char debug_fill4[] = _("pksdir0");
+ALIGNED(4) const char debug_fill5[] = _("pksdir0");
+ALIGNED(4) const char debug_fill6[] = _("pksdir0");
+ALIGNED(4) const char debug_fill7[] = _("pksdir0");
+ALIGNED(4) const char debug_fill8[] = _("pksdir0");
void NDS_DebugInit(void)
{