Guest User

Untitled

a guest
Feb 10th, 2016
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. 1) Pull repo
  2.  
  3. 2) Run Battle-System\src\Defines\generation\stringsToCharArray first. It generates strings.h file
  4.  
  5. 3) Compile this XSE script. Do not put a #dyn offset:
  6.  
  7. #org 0x168CD2
  8. msgbox 0x8740050 MSG_NORMAL '"testing battle."
  9. callasm 0x88014C5
  10. end
  11.  
  12. #org 0x740050
  13. = testing battle.
  14.  
  15. 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.
  16.  
  17. 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
  18.  
  19. 6) Open in VBA, and talk to the TV in the player's room :D
Add Comment
Please, Sign In to add comment