-
Notifications
You must be signed in to change notification settings - Fork 266
Free some space in BANK 1E
It's not an uncommon occurrence that Bank 1E
gets too full -if you search over the channel history, you'll find more than one person complaining about that, including me.
Let's collect some solutions on how to fix this.
(All credits to Vortiene, and all error blaming to me)
Let's exploit the vastly empty Bank containing the Section "Text 7"
.
We're gonna move some of the surprisingly heavy data relative to the slot machine, which apparently doesn't really need to be in Bank 1E
specifically, and we'll smash it somewhere else with more space and less utility -specifically and counter-intuitively, into a text-related bank.
Open text.asm
and at the end of SECTION "Text 8", ROMX
add the following:
INCLUDE "text/MrPsychicsHouse.asm"
INCLUDE "data/text/text_7.asm"
+INCLUDE "engine/battle/just_slot_machine_stuff.asm" ; to free bank1E
SECTION "Text 8", ROMX
Then open engine/battle/animations.asm
and comment out / delete the following lines:
-SlotMachineTiles2:
- INCBIN "gfx/slots/slots_2.2bpp"
-SlotMachineTiles2End:
Finally, create a whole new file engine/battle/just_slot_machine_stuff.asm
and inside of it write just the following (note the difference from the above in the double colon):
+SlotMachineTiles2::
+ INCBIN "gfx/slots/slots_2.2bpp"
+SlotMachineTiles2End::
Done :)
TBD