So it "works"...

This now, technically, works.

However, the Battle Tent was seemingly made with the assumption trainers are Pokemon, which our hack has moved from. I've made it so it can load it as a trainer battle properly, but you will deathwarp. I need to implement a scripted loss system.
This commit is contained in:
Llinos Evans 2023-05-13 19:07:16 +01:00
parent e7c6cc9dcc
commit 4de0a13543
5 changed files with 19 additions and 10 deletions

View file

@ -643,6 +643,14 @@ BattleTentTrainer:
ld l, e
ld h, d
call PrintText
ld hl, wd72d
set 6, [hl]
set 7, [hl]
ld [wBTClass], a
ld a, 1
ld [wIsTrainerBattle], a
jp TextScriptEnd
BattleTentTrainer_After:
@ -799,4 +807,5 @@ BattleTentGuy2_Heal:
; Battle Tent
BattleTentMart::
script_mart POTION, SUPER_POTION, HYPER_POTION, REVIVE, FULL_HEAL, POKE_DOLL, X_ATTACK, X_DEFEND, X_SPEED, X_SPECIAL
INCLUDE "engine/battletentdata.asm"