The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Hidesprite command not working, despite nearly identical script elsewhere working

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 March 5th, 2020 (6:35 PM).
Lord Shobby's Avatar
Lord Shobby Lord Shobby is offline
 
Join Date: Jul 2016
Location: Somewhere
Gender: Other
Posts: 20
I'm making a reoccurring trainer in my hack that leaves after he is beaten (through fadescreen and hidesprite),
but in one of his scripts, he just stays there after the screen fades back in and acts as if he was never fought.

Here are the two scripts I have so far, the correctly working one and the one that isn't working:

Working:

Code:
lock
faceplayer
msgbox 0x8184CF1 MSG_NORMAL '"HYNE: Gyehe! We meet again, [playe..."
special 0x3B
playsong 0x1D6 0x0
trainerbattle 0x0 0x9C 0x0 0x8184D31 0x8184D31
msgbox 0x8184D4D MSG_NORMAL '"HYNE: Grrr[.]\nyou brat!\pJust you..."
fadescreen 0x1
hidesprite 0x6
setflag 0x202
pause 0x10
fadescreen 0x0
release
end
Not Working:
Code:
lock
faceplayer
msgbox 0x817279D MSG_NORMAL '"Hey! Who the heck are you?\n[.][pl..."
special 0x3B
playsong 0x1D6 0x0
trainerbattle 0x0 0xB5 0x0 0x81727CB 0x81727CB
msgbox 0x81727DF MSG_NORMAL '"You little pest! I, Hyne,\nwon't f..."
fadescreen 0x1
hidesprite 0x12
setflag 0x203
pause 0x10
fadescreen 0x0
release
end
I'm not sure what the problem could be, since I also made sure the flags and person IDs matched in the case
of both scripts, as well as the person events/sprites to hide.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old March 5th, 2020 (6:49 PM).
DrFuji's Avatar
DrFuji DrFuji is offline
Heiki Hecchara‌‌
 
Join Date: Sep 2009
Location: Aussie
Age: 30
Gender: Male
Nature: Jolly
Posts: 1,693
In A-Map, the Person ID box is written in decimal notation rather than hexadecimal. This means that if the Person ID in A-Map says 12, you need to write 0xB in XSE.
__________________
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:18 AM.