Commit Graph

905 Commits

Author SHA1 Message Date
Lorenzo Carletti fe74ac0ca7 Add tests for encounters text 2021-11-17 23:29:59 +01:00
Lorenzo Carletti 9154667efa Add support for messages within asserts 2021-11-16 20:51:53 +01:00
Lorenzo Carletti 131da4f142 Add assert function
Changes the helper functions in order to make the debug printf properly print integers
2021-11-16 12:21:40 +01:00
Lorenzo Carletti 819c27772d Add testing scripts
https://github.com/Lorenzooone/mgba/tree/sdl_logging
2021-11-12 22:23:35 +01:00
Lorenzo Carletti a3ec61350d Make it so the ROM can have different names 2021-11-05 19:54:03 +01:00
Lorenzo Carletti bd023ca937 Add option to build a test rom 2021-11-05 19:49:29 +01:00
jeffman 6f9d8b8b33
Merge pull request #146 from Lorenzooone/onett_butterfly_fix
Fix issue with butterflies in Onett
2021-11-04 21:09:57 -04:00
Lorenzo Carletti 5e44640407 Make it so you can print outside of the emulator on mGBA
Also creates the first sketch of an infrastructure for unit testing
2021-11-04 21:15:03 +01:00
Lorenzo Carletti acdac2717a Fix issue with butterflies in Onett
Decided to go for an "issue-specific fix" for this one.

If many more of these are discovered in the future, a way to fix this for good is making it so m2_malloc also automatically clears the buffer (although that would be a very drastic decision, which would limit what you can do with a writing buffer)
2021-11-03 18:34:33 +01:00
Lorenzooone c41901d922
Merge pull request #136 from Lorenzooone/custom_codes_related
Reworked custom control codes
2021-11-03 17:58:26 +01:00
jeffman 13ac891abe
Merge pull request #145 from Lorenzooone/fix_flicker_no_pp_ow
Fixes flickering when "Not Enough PP!" appears in the overworld
2021-10-08 09:49:11 -04:00
Lorenzo Carletti 7ca056d692 Fixes flickering when "Not Enough PP!" appears in the overworld
Also makes it so the game doesn't constantly print the PSI window if the cursor is not in the (0,0) position
2021-10-08 14:54:05 +02:00
jeffman 009aa692e5
Merge pull request #144 from Lorenzooone/saturn_money_fix
Fix https://github.com/jeffman/Mother2GbaTranslation/issues/134
2021-10-04 13:00:28 -04:00
Lorenzo Carletti 4b0c785811 Fix https://github.com/jeffman/Mother2GbaTranslation/issues/134 2021-10-04 00:57:16 +02:00
Lorenzooone 1c21a8d2eb
Merge branch 'master' into custom_codes_related 2021-10-02 19:33:24 +02:00
jeffman 4107663fdb
Merge pull request #143 from Lorenzooone/title_work
Change title to Earthbound
2021-10-02 13:23:34 -04:00
Lorenzo Carletti 83da3648c8 Properly load the letters in the quick title 2021-10-02 16:12:55 +02:00
Lorenzo Carletti 0f5cda234a Make it so the first palette isn't cleared 2021-10-02 13:19:57 +02:00
Lorenzo Carletti c2b19230ed Change when BG0 is enabled 2021-10-02 12:48:24 +02:00
Lorenzo Carletti 9ff76198d3 Insert the quick title's palettes 2021-10-02 12:36:07 +02:00
Lorenzooone 69f545c0eb
Merge pull request #2 from jeffman/feature/title-screen
Merge title commits with current repo
2021-09-30 23:26:42 +02:00
Lorenzooone c7e8c6e842
Merge branch 'title_work' into feature/title-screen 2021-09-30 23:26:28 +02:00
Lorenzo Carletti 624f3fd67a Complete Merge 2021-09-30 23:24:00 +02:00
jeffman 6a01d0230b
Merge pull request #142 from Lorenzooone/printing_buffer_malloc
Fix crash when Onett transitions to day
2021-09-27 09:56:02 -04:00
Lorenzo Carletti d0f079a998 Fix possibly badly loaded register 2021-09-26 18:43:58 +02:00
Lorenzo Carletti 69e9161c73 Fix crash when Onett transitions to day
It was caused by the printing buffer being always loaded.
Now the game only loads the buffer when it needs it.
2021-09-25 18:24:50 +02:00
jeffman e329058ec9
Merge pull request #141 from Lorenzooone/printing_buffer_malloc
Alloc the buffer when the allocation space is reset
2021-09-22 18:50:13 -04:00
Lorenzo Carletti fd3c822774 Alloc the buffer when the allocation space is reset 2021-09-21 00:15:59 +02:00
jeffman 78a0b1ded9
Merge pull request #140 from Lorenzooone/Buffer_Resize
Lower memory usage for printing buffer by 1/4th
2021-08-16 13:26:12 -04:00
Lorenzo Carletti 0e25bdf8da Lower memory usage for printing buffer by 1/4th
Fixes https://github.com/jeffman/Mother2GbaTranslation/issues/131
The loading process now takes 1/10th more time
2021-08-16 18:54:00 +02:00
Lorenzooone 1ab85ba142
Merge pull request #1 from jeffman/master
Add "Build Info" to the Custom Codes rework
2021-07-05 12:12:51 +02:00
jeffman 188ac3ae75
Merge pull request #139 from Lorenzooone/build_info_branch
Add option to get the build date
2021-06-04 18:57:01 -04:00
Lorenzo Carletti df3b86d0e5 Add option to get the build date 2021-06-04 22:16:12 +02:00
Lorenzo Carletti 2b8ededb48 Fix only the target being considered for articles in battle 2021-05-11 03:38:48 +02:00
Lorenzo Carletti 76201841db Fix crash when giving items from a party member with ID >= 2
Also makes some garbage that appeared after the give text disappear.
2021-05-11 00:27:12 +02:00
Lorenzo Carletti ed4267a683 Improve consistency 2020-12-23 01:19:13 +01:00
Lorenzo Carletti 69725119c1 Improved code and implemented extra user check
Mimicks original code.
Also removed instances where the wrong capitalization of "The " was used
2020-12-23 01:15:16 +01:00
Lorenzo Carletti 0bbef51a70 Implement critical condition message 2020-12-22 08:35:42 +01:00
Lorenzo Carletti d74f53cd6e Add gender control code 2020-12-22 07:08:07 +01:00
Lorenzo Carletti f021d67881 Swap from loading to memory a "The " to getting it via script
Should really help the future translations...
2020-12-22 06:15:38 +01:00
Lorenzo Carletti 9ec01bb633 Update custom code name 2020-12-21 06:30:05 +01:00
Lorenzo Carletti c586a6bcd4 Make custom codes use C code instead of ASM 2020-12-21 06:24:02 +01:00
jeffman eb080da004
Merge pull request #135 from Lorenzooone/saturn_font_test
Update Saturn font to stay within a 16x12 grid
2020-11-04 16:17:14 -05:00
Lorenzo Carletti 18d8f76c1b Improving saturn " symbol 2020-10-31 11:30:15 +01:00
Lorenzo Carletti d071d49a21 Attempt at creating a 16x12 Saturn font 2020-10-31 03:45:36 +01:00
jeffman 6a0ebaf760
Merge pull request #133 from Lorenzooone/give_improvements
De-Hardcode give strings
2020-10-28 20:14:57 -04:00
Lorenzooone 39771d6bd5
Merge branch 'master' into give_improvements 2020-10-29 01:07:54 +01:00
jeffman dc494db760
Merge pull request #132 from Lorenzooone/staff_credits
Implement EB staff credits
2020-10-28 19:39:23 -04:00
Lorenzo Carletti 266d7d3308 De-Hardcode give strings 2020-10-28 20:39:31 +01:00
Lorenzo Carletti 0d45c44c12 Move stuff around so the folder structure is more consistent 2020-10-28 15:47:01 +01:00