Commit Graph

1302 Commits

Author SHA1 Message Date
PikalaxALT 99e6a6639e Merge branch 'master' into debug-english 2019-10-02 11:50:17 -04:00
PikalaxALT 1bd678656c Merge pull request #743 from garakmon/metatile_labels
Name Metatiles
2019-09-08 12:43:57 -04:00
PikalaxALT 00fef26c52 Merge pull request #744 from garakmon/pokenav-data
Pokenav Data Decomp (take 2)
2019-09-08 12:41:48 -04:00
easyaspi314 (Devin) 98d87b1a47 Make DEBUG_TRANSLATE a makefile flag 2019-08-27 00:34:24 -04:00
easyaspi314 (Devin) 6eafbcabf3 Change data debug translations to use DEBUG_TRANSLATE
I'd prefer a macro, but preproc currently comes first.
2019-08-26 21:08:41 -04:00
easyaspi314 (Devin) 2c42658d87 Beware the BRENDAN 2019-08-24 11:49:18 -04:00
easyaspi314 (Devin) 532e6397d5 .if ENGLISH != .ifdef ENGLISH 2019-08-24 00:11:41 -04:00
easyaspi314 (Devin) a631973b73 [WIP] English Debug menu translations! (Plus some build system fixes)
I'm back!
                       す
Éß テ-ブ↑& ÒÛªù! (かなテーブルを捨てろよ!/Throw away the kana table!)

When compiled in English with DEBUG, instead of óじばÌ (mojibake),
you now get actual English translations!

No more switching from the game, to the kana chart, and if you don't know
Japanese, Google Translate, just to read one sentence.

Additionally, the few unknown translations should use proper encoding or
Romaji.

I decided to use a nicer macro system:

static const u8 sStrHello[] = DTR("こんにちは", "Hello");

This prevents ifdef HELL, as the mixed Japanese and English would
be messy.

Additionally, some special character issues were corrected.

Things untranslated/bugs:
 - Tomomichi's dummy functions. Of course, they don't do much.
 - The title screen battle menu. This uses a Gen 2 style tile rendering
   and the way it is rendered is incredibly overcomplicated.
 - A few phrases which I couldn't get a clear translation for. I don't know
   much Japanese lol.
 - Song names. Just tedious with the limited buffer size.
 - A few layout issues. Some dimensions should be tweaked to avoid text
   box ovetflows.
 - Potential buffer overflows, which I want to try to avoid
   - (ASan for GBA? :morphon:)
 - While I use the DEBUG_TRANSLATE flag (automatic with ENGLISH && DEBUG)
   for C code, the asm data only checks for ENGLISH && DEBUG. Additionally,
   they are ugly.
 - Haven't tested all builds yet.
 - Some code formatting issues.

I also made it so this will compile with the system preprocessor (including
Clang), and my agbcc binutils (which will attempt to be selected automatically
if you don't have DKP).

Clang needs a few flags (it can't do asm enums with line numbers and it does
trigraphs in standard mode), but it is no longer flipping out.

I am going to restart my build system project. It was getting way off track,
and ucpp was too difficult to maintain (one of the main reasons for the silence).
2019-08-23 20:44:01 -04:00
camthesaxman db4af549fd resolve some Emerald differences 2019-07-29 20:44:18 -05:00
camthesaxman 6c9a628992 fix build 2019-07-28 18:52:37 -05:00
garak dcac22cef9 finish pokenav data decomp 2019-07-18 21:57:19 -04:00
garak a27c727e8b continue pokenav data decompile 2019-07-18 21:33:33 -04:00
garak b2ed63d8df start decompiling pokenav data 2019-07-18 20:15:12 -04:00
garak ad365a35c1 name metatiles 2019-07-18 15:10:32 -04:00
PikalaxALT 8a5fe8781a Finish roulette data 2019-07-02 19:29:49 -05:00
PikalaxALT a437045526 through gSpriteTemplate_83FA0DC 2019-07-02 19:29:49 -05:00
PikalaxALT 04abad96dd Split roulette on purported file boundary 2019-07-02 19:29:49 -05:00
PikalaxALT 10cc341f68 through gUnknown_Debug_0842510D 2019-07-02 19:29:49 -05:00
PikalaxALT 425461c54e through gUnknown_083F8EBC 2019-07-02 19:29:49 -05:00
PikalaxALT 282da768fa through gUnknown_083F8DF4 2019-07-02 19:29:49 -05:00
PikalaxALT 0eb4261793 Start roulette rodata decomp 2019-07-02 19:29:49 -05:00
PikalaxALT 6e6edda078 Define LINK_BATTLE_OPPONENT; other opponent constant substitutions 2019-04-23 19:57:44 -05:00
PikalaxALT 1eb17b1921 Some documentation of contest_link_80C2020 2019-04-08 17:33:35 -05:00
ultima-soul 0a16dd0df0 Decompile/port rest of battle_anim plus fix 1 NONMATCHING. 2019-04-07 16:36:15 -05:00
huderlem 963d165e06 Merge pull request #716 from nullableVoidPtr/master
Port water.s from pokeemerald
2019-04-06 12:47:23 -05:00
PikalaxALT 79eeb2d704 Decompile sGymLeaderTrainersEye 2019-04-06 08:16:13 -05:00
PikalaxALT 50be36be3f through sub_80F567C 2019-04-06 08:16:13 -05:00
Doesnty a6f39d191d Fix a flag name typo 2019-04-05 17:29:59 -05:00
Marcus Huderle 309d2b1246 Use strings for map json trainer_type and trainer_sight_or_berry_tree_id fields 2019-02-16 16:56:20 -06:00
garak b8253e3906 use strings for map json coord_event var_value 2019-02-16 16:15:19 -06:00
Marcus Huderle f91325d4a5 Cleanup and add game version flag to mapjson tool 2019-02-04 17:30:13 -06:00
Marcus Huderle a0ba1b7c63 Convert map data to JSON 2019-02-04 10:44:11 -06:00
nullableVoidPtr 80de1483c6 Port water.s from pokeemerald 2018-12-21 16:44:49 +08:00
garak 2fb6c5bb7f Merge branch 'master' into createsprite 2018-12-17 23:34:16 -05:00
Marcus Huderle 5f202c744b Merge pull request #707 from Sewef/anim-label
Some battle_anim labels.
2018-12-17 22:24:57 -06:00
Melody 4161c6e6d7 Use real apostrophes instead of fake ones 2018-12-07 10:54:47 -05:00
garak 32c7ec313d ANIM_BANK -> ANIM_BATTLER and some newlines 2018-11-13 13:49:27 -05:00
garak c31185bdbf change createsprite macro 2018-11-13 13:37:29 -05:00
Sewef 386a20842e Unknown_81D61F3 => BackgroundRestore 2018-11-13 08:56:52 +01:00
Sewef 5f2578ed56 More. 2018-11-12 14:25:21 +01:00
Sewef 26ebfd9521 ANIM_TAG_SWORD label 2018-11-12 14:17:33 +01:00
Sewef 4794d7efcd gBattleAnimSpriteTemplate_83D6734 2018-11-12 14:00:33 +01:00
Sewef 7688791704 sub_80E4008 2018-11-12 13:55:51 +01:00
Sewef a3bffcb7ac gBattleAnimSpriteTemplate_8402894 2018-11-12 13:51:53 +01:00
Sewef fc4b936fb7 General_TurnTrap 2018-11-12 13:48:15 +01:00
garak 2ac92e38ff sound efect panning constants 2018-10-16 14:23:52 -04:00
garak fb500f0da1 document battle anim script commands 2018-10-16 11:10:12 -04:00
garak 6976a3de94 guillotine background defines 2018-10-16 08:22:51 -04:00
garak b6fa61a59a finish naming anim tags 2018-10-15 23:49:09 -04:00
garak 281824e3c4 Merge remote-tracking branch 'upstream/master' into battle-anim-labels 2018-10-15 14:53:21 -04:00