The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Black screen when starting trainer battle

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old October 16th, 2019 (1:49 PM). Edited October 17th, 2019 by Angelos_World.
Angelos_World Angelos_World is offline
 
Join Date: Sep 2019
Posts: 6
Hello everyone, sorry to bother you again about probably a stupid thing i do not consider...
The problem is that when i start a trainer battle i scripted on XSE, it seems to work properly in the overworld (the trainer approaches, says the inro line and start the battle) , but when the battle starts the screen stays black!
i can hear the battle theme, but can't see anything. the script i used is this:

#dynamic 0x800000

#org @start
trainerbattle 0x0 0x90 0x0 @intro @wintext
msgbox @alreadyDefeated 0x6
release
end

#org @alreadyDefeated
=[black_fr] you defeated me!

#org @wintext
= You won only because i \nspilled my tea and got distracted!

#org @intro
= [black_fr]Do you hear it? \p it's the sound of your DEFEAT!


the sets in Advance Map are these:

MOVEMENT $00
UNKNOWN $00
TRAINER $01
UNKNOWN $00
VIAW RADIUS $0001
PERSON ID $0000
UNKNOWN $0000

i tryed with different trainer numbers and re-make the event from 0 , but the problem is still the same!

EDIT: i figured out how to fix this, but now i have an other problem with this trainer:

It has 2 pokemons, a Spearow and a Fearow, but during the battle instead of Ferow it sends " ????????? " instead (Spearow works fine)
I checked the trainer and Fearow and both of them seem to be ok, the only thing i noticed is that for every trainer all the pokemon after
the first one are different from the one in preview on the trainer editor (no metter my choce, the trainer uses Lickitung as second pokemon)...
do you have any clue about this?


thank you for the help
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old October 17th, 2019 (4:08 PM).
mcferaligatr's Avatar
mcferaligatr mcferaligatr is offline
 
Join Date: Nov 2018
Posts: 120
Did you use Advance trainer to insert the trainer into the rom, and did you repoint the data needed for the second Pokemon of the npc (make sure that the fill byte is ff instead of 00).
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:15 AM.