Commit Graph

905 Commits

Author SHA1 Message Date
jeffman a8053975ac Add text palette control 2019-09-26 22:36:43 -04:00
jeffman 433eea405b Add sprite text resources 2019-09-26 22:25:45 -04:00
jeffman 92151ba934 Nop the remaining title sequences 2019-09-26 20:59:05 -04:00
jeffman 4e3c8a98b5 Start background with blank palette
This fixes the yellow copyright text at the start.
2019-09-26 20:45:48 -04:00
jeffman 5e98d418ea Copy background to glow palette during copyright 2019-09-26 20:36:00 -04:00
jeffman f5a17d8a68 Add more sequences 2019-09-25 23:39:35 -04:00
jeffman 03cef4736a BG0 offset 2019-09-25 23:39:27 -04:00
jeffman da55c7c765 Fix bug with clobbered register 2019-09-25 23:38:42 -04:00
jeffman 6213911edc Fix bad graphics rip
TileMolester's default palette repeats black on some colours which made it not copy properly. This one should be fine...
2019-09-25 23:38:03 -04:00
jeffman 887ac89ad1
Merge pull request #81 from Lorenzooone/window-text-buffering
Improve 1bpp buffer performance more and fix missing text pointers
2019-09-25 19:01:09 -04:00
Lorenzooone 0e3b6a97cb Fix https://github.com/jeffman/Mother2GbaTranslation/issues/27 2019-09-26 00:35:48 +02:00
Lorenzooone 3dd24b23d3 Update convenience threshold for storing in IWRAM + Update store_pixels_overworld_buffer_totalTiles 2019-09-25 20:19:55 +02:00
Lorenzooone 02f0b350df Improve buffer storing and loading
For loading: Use a table to get a byte directly out of an int (instead of two nibbles).
For both: Remove writing the unused 4 pixels of the vertical doubletiles.

Storing is now 55k cycles and Loading is now 92k cycles.
2019-09-25 19:45:12 +02:00
Lorenzooone c00039cb18 Improve reduce_bit_depth_sp 2019-09-24 23:11:43 +02:00
Lorenzooone 4624911fa3 Use pointers for load_pixels_buffer too
Also fixes issue where only two pixels per tile were copied.
2019-09-24 22:41:44 +02:00
Lorenzooone 22c70883d8 Improve load_pixels_overworld_buffer performance
Uses a special function in order to speed things up by quite a bunch
2019-09-24 22:13:40 +02:00
Lorenzooone b372862942 Improve 1bpp buffer storing performance by using an edited coord_table and (if useful) loading the m2_bits_to_nybbles table in IWRAM 2019-09-24 19:14:01 +02:00
jeffman 9191a412ca
Merge pull request #80 from Lorenzooone/window-text-buffering
Add buffering for Goods windows
2019-09-23 19:46:09 -04:00
Lorenzooone 24fbc3098e Complete Goods windows 2019-09-24 01:37:14 +02:00
Lorenzooone 672cbc1647 Add missing timed events 2019-09-24 00:49:22 +02:00
Lorenzooone 0bcf7b1180 Complete stored goods. Missing pickup text. 2019-09-23 23:29:05 +02:00
Lorenzooone 626cfc8c7e Goods buffers (Stored goods' one isn't complete yet) 2019-09-23 01:49:38 +02:00
jeffman 4a81263a81
Merge pull request #79 from Lorenzooone/window-text-buffering
Teleport window text buffer + Player naming window text buffer
2019-09-22 14:01:42 -04:00
Lorenzooone 98874ae6a6 Player name input menu buffer 2019-09-21 01:32:23 +02:00
Lorenzooone f0420979f4 Implement buffer for teleport window 2019-09-20 13:40:40 +02:00
Lorenzooone d60f46bc0a Fix "Medium" text speed option highlighting 2019-09-20 01:55:17 +02:00
jeffman a3f86fcf02
Merge pull request #78 from Lorenzooone/window-text-buffering
Improve 1bpp buffer performances
2019-09-18 17:58:33 -04:00
Lorenzooone c8e592ad66 Improve buffer loading again
Makes it 3/5 the initial speed
2019-09-18 22:56:27 +02:00
Lorenzooone b4f6f78981 Improve indentation 2019-09-18 16:59:50 +02:00
Lorenzooone 8402fa5ae9 Improve buffer storage performance by 1/3
Also improves buffer loading performance by 1/5.
2019-09-18 16:51:53 +02:00
jeffman e7ef55de93
Merge pull request #77 from Lorenzooone/window-text-buffering
Implement 1bpp buffer instead of 4bpp
2019-09-17 22:02:12 -04:00
Lorenzooone 2f2970aae0 Remove commented out code 2019-09-18 04:01:11 +02:00
jeffman 941057bfc6 Add/update sequences 0, 1, 4, 5 2019-09-17 21:55:05 -04:00
jeffman 5756d24a46 Update notes 2019-09-17 21:54:01 -04:00
Lorenzooone c509b00432 Improve compiling ease 2019-09-17 23:10:28 +02:00
Lorenzooone f10f326db2 Implement 1bpp buffer instead of 4bpp. 2019-09-17 20:03:02 +02:00
jeffman 199b70ab24
Merge pull request #76 from Lorenzooone/window-text-buffering
Move equip numbers window one tile to the right
2019-09-17 12:56:21 -04:00
Lorenzooone b4e613326f Move equip numbers window one tile to the right 2019-09-17 10:38:18 +02:00
jeffman e201fe3e51 Add a fade-in delay 2019-09-17 00:07:24 -04:00
jeffman 6b407d0c3b Remove title.c etc.
Not gonna try unwinding those routines into C so
let's just to ASM for this hack.
2019-09-17 00:06:42 -04:00
jeffman 1c4f61e7ce Update notes 2019-09-17 00:04:33 -04:00
jeffman f968305573
Merge pull request #74 from Lorenzooone/window-text-buffering
Equip window text buffering + Sounds
2019-09-16 20:56:54 -04:00
Lorenzooone 4a5055035f Fix https://github.com/jeffman/Mother2GbaTranslation/issues/75 2019-09-17 02:02:25 +02:00
Lorenzooone abe261a51f Fix one-person case not printing offense/defense numbers 2019-09-17 01:02:12 +02:00
Lorenzooone ffe72262e9 Fix https://github.com/jeffman/Mother2GbaTranslation/issues/69 and make sure the equip menu looks like the EB one 2019-09-17 00:31:17 +02:00
Lorenzooone f2f99d0408 Prints the numbers near the "->" strings as EB does 2019-09-16 03:43:41 +02:00
Lorenzooone 6505b6bc0d Complete equip printing (Still need inner window input management for sounds and small arrow for numbers) 2019-09-16 03:31:07 +02:00
Lorenzooone aacde3764f Revert "Merge branch 'thewip' into window-text-buffering"
This reverts commit d5a7ce8d98, reversing
changes made to 7582652071.
2019-09-12 22:10:43 +02:00
jeffman c43b2d8f2d WIP new title screen code
All it does right now is play the title screen sound for 5 seconds
2019-09-11 23:21:54 -04:00
jeffman a2d7dcfbfa Update notes 2019-09-11 23:20:55 -04:00