Commit Graph

237 Commits

Author SHA1 Message Date
PikalaxALT d461cbcaa1 Sync more function names from Emerald 2021-06-23 11:10:02 -04:00
PikalaxALT 6e9821ca07 Split contest code 2021-06-22 15:20:21 -04:00
PikalaxALT 54cda03087 Sync more contest docs from Emerald 2021-06-21 15:04:48 -04:00
PikalaxALT 75b2298d37 Start syncing contest code documentation from Emerald 2021-06-21 10:19:41 -04:00
PikalaxALT 9ab2ab3c80 Document image_processing_effects.c 2021-06-18 16:46:53 -04:00
PikalaxALT c5dd8f884a Revert these symbols back to ewram.h 2021-06-18 14:36:48 -04:00
PikalaxALT b6bdaedb77 Sync image_processing_effects from emerald, 1 2021-06-18 14:28:58 -04:00
PikalaxALT 42650e1507 document ewram macros in BattleStartClearSetData 2021-06-17 14:32:35 -04:00
PikalaxALT 12b9fcb31f Fix modern debug builds 2021-06-13 20:58:11 -04:00
Deokishisu a1138223e9 Mirror pokeemerald PR#1329 & PR#1335 to pokeruby
The `externalReservedData` field has been split up into `externalEventData` and `externalEventFlags`, which have their own structs. The new structs deal with interconnectivity between external games/peripherals and RS. US & JP Colosseum Bonus Discs', Colosseum and XD's, Pokémon Channel's, and PokémonBox: Ruby & Sapphire's interactions with these fields has been documented.

The `giftRibbon#` fields in `PokemonSubstruct3` have also been renamed to their appropriate ribbons, and commented with distribution info if applicable. All relevant constants and functions dealing with the Pokémon data structure were renamed with these changes in mind.
2021-02-16 16:43:31 -05:00
GriffinR 038abf80ba Give songs meaningful english names 2020-08-29 01:47:36 -04:00
GriffinR 5d6e7a31da Merge pull request #788 from kazblox/master
Fix NONMATCHINGs and actual English Debug support
2020-08-19 01:04:35 -04:00
Kaz 3d96e954c8 Review changes.
Fixed taya_debug_window for good.
2020-08-18 04:38:42 -04:00
Kaz b5a38ca77f Fix rev1+. Oops. 2020-06-08 05:23:43 -04:00
Kaz 2ec8ae4bec Preliminary support for English rev0 debug. Matching but still needs
cleaning up.
Rename DEBUG_TRANSLATE to DEBUG_FIX now that we have actual English
Debug ROMs.
Add Sapphire German "first edition" debug support, now that we have a
hash for it.
Fix an obvious nonmatching.
2020-06-08 04:12:23 -04:00
Kaz 7e6d3999cf sub_809E8F0 get. 2020-06-03 04:52:49 -04:00
GriffinR 6f0a4b2215 Use fadescreen constants, sync common scripts after pc.inc 2020-04-29 15:35:25 -04:00
GriffinR b1c7689dcc Use OBJ_EVENT_ID_PLAYER 2020-04-27 17:05:15 -04:00
GriffinR 6f0551ae38 Sync hall_of_fame.inc 2020-04-27 15:42:05 -04:00
GriffinR faf8130585 Sync shared_secret_base.inc 2020-04-24 15:23:48 -04:00
PikalaxALT 04d158cfcd Merge branch 'master' of github.com:pret/pokeruby into modern_gcc 2019-12-14 11:56:41 -05:00
huderlem d63e99c418 Merge pull request #754 from camthesaxman/emerald_diff
resolve more emerald differences
2019-10-19 08:08:03 -05:00
easyaspi314 (Devin) dcd7c8a241 Fix a mixup in the naming :( 2019-09-05 14:28:56 -04:00
easyaspi314 (Devin) 3203e4f2f4 Document some debug menu things 2019-09-05 13:37:38 -04:00
PikalaxALT 3d3ec3150a Merge branch 'master' into modern_gcc 2019-09-05 09:38:27 -04:00
easyaspi314 (Devin) 8f1e63cbcd Mark some things in tomomichi_debug_menu.c 2019-08-26 19:27:24 -04:00
easyaspi314 (Devin) 0934066d11 Fix some test menu translations, document unused functions and name stuff 2019-08-25 22:54:45 -04:00
easyaspi314 (Devin) 5d1f39aa6f Improve a mori_debug_menu translation 2019-08-25 21:07:42 -04:00
easyaspi314 (Devin) b19c77d1c9 Replace asm("") with ++ --.
agbcc is weird
2019-08-25 21:06:57 -04:00
easyaspi314 (Devin) f97cff8748 Improve some nohara translations. 2019-08-25 19:23:42 -04:00
easyaspi314 (Devin) 1c0ccca5a2 Match and document DebugMenu_8077C3C (now DebugMenu_ConvertBuildDate)
It seems that simply putting an asm("") matched 8077C3C.
2019-08-24 23:17:06 -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 bbd177fa20 fix more emerald differences 2019-07-31 18:29:13 -05:00
camthesaxman ea0dfce3c4 gMPlay to gMPlayInfo 2019-07-29 21:17:54 -05:00
PikalaxALT 5d268f0acf Make Ruby compile with gcc-8 2019-06-26 19:47:30 -04:00
PikalaxALT 5c7c095bab gTrainerBattleOpponent = SECRET_BASE_OPPONENT 2019-04-23 19:57:44 -05:00
PikalaxALT 1eb17b1921 Some documentation of contest_link_80C2020 2019-04-08 17:33:35 -05:00
PikalaxALT 0c690920ab through sub_80C4A28 2019-04-08 17:33:35 -05:00
Melody 4161c6e6d7 Use real apostrophes instead of fake ones 2018-12-07 10:54:47 -05:00
Kermalis 378a1421ae Renaming cry voicegroups 2018-09-22 15:38:44 -04:00
Kermalis 3e80e081b5 Voicegroups need names 2018-09-15 02:53:50 -04:00
vblm12 ff5bf7804e Change OPPONENT to TRAINER in taya_debug_window.c 2018-07-21 16:40:05 -05:00
yenatch ca9cdc306e label some of pokemon_summary_screen 2018-07-02 22:11:25 -04:00
Marcus Huderle 605f8ac114 Merge branch 'master' into contest_link_80C2020 2018-06-25 17:50:27 -05:00
Marcus Huderle 2c7a4e1406 Use MUS_ prefix instead of BGM_ prefix for songs 2018-06-20 17:47:51 -05:00
Marcus Huderle c80206e701 Rename map attribute structs to MapLayout 2018-06-20 17:47:33 -05:00
Marcus Huderle 2e80477ea1 Label move_tutor_menu.c 2018-06-10 11:09:57 -05:00
Marcus Huderle 0a2c709535 Label all metatile behaviors and functions 2018-06-07 20:54:44 -05:00
Marcus Huderle 49a5bda839 Label/document field_control_avatar.c and a few misc things 2018-06-06 00:18:20 -05:00
Marcus Huderle 4ee671c9bf Standardize args to palette blend functions 2018-05-21 09:02:30 -07:00