Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1) Pull repo
- 2) Run Battle-System\src\Defines\generation\stringsToCharArray first. It generates strings.h file
- 3) Compile this XSE script. Do not put a #dyn offset:
- #org 0x168CD2
- msgbox 0x8740050 MSG_NORMAL '"testing battle."
- callasm 0x88014C5
- end
- #org 0x740050
- = testing battle.
- 4) In battle_init.c, scroll all the way down to the "z_battle_setup()" function. In the function body there are some settings you can tweak for testing purposes. I've hardcodded a certain battle setting, you can change something like "b_config->type = SINGLE_TRAINER;" to another battle setting. Battle_types.h has the defined settings.
- 5) Run Battle_system/src/build and then run Battle_system/src/insert. These are both python programs. Alternatively I made some quick shell scripts compile and debug. You'll need to edit the file paths though
- 6) Open in VBA, and talk to the TV in the player's room :D
Add Comment
Please, Sign In to add comment