Battle Tent Port

This is...most of the stuff necessary for the Battle Tent to work. I've faithfully restored most things so far, including doing a few grammar tweaks.

Main issue is that we get a really strange softlock when the Pokemon selection menu comes up. Not sure why, but point is, it can't progress to the next bit for debugging like this. Committing now to ask for assistance.
This commit is contained in:
Llinos Evans 2023-05-13 02:50:31 +01:00
parent cdb00af812
commit ec61a039b8
23 changed files with 1340 additions and 18 deletions

View file

@ -405,10 +405,23 @@ wSlotMachineSevenAndBarModeChance:: db
; ROM back to return to when the player is done with the slot machine
wSlotMachineSavedROMBank:: db
;battle tent data
wBTOrder:: dw
wBTStreakCnt:: db
wBTClass:: db
wBTDataEnd::
wStringBuffer1:: ; cf5f
ds 16 + 1
wStringBuffer2:: ; cf70
ds 16 + 1
wStringBuffer3:: ; cf81
ds 9 + 1
;end BT wram
; Move Buffer stuff for Mateo's code
wMoveBuffer::
wRelearnableMoves::
ds 164
ds 115
; Try not to use this stack.
; A good amount of space is needed to store data for the move relearner.
; If it's like, 2, it'll lag like crazy and show garbage from elsewhere.
@ -2099,7 +2112,8 @@ wSeafoamIslandsB3FCurScript:: db
wRoute23CurScript:: db
wSeafoamIslandsB4FCurScript:: db
wRoute18Gate1FCurScript:: db
ds 6
wBattleTentCurScript:: db
ds 5
wGameProgressFlagsEnd::
UNION