• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Script] Protagonist PC Problem

Hi all,

I recently started scripting so this might be a noob question.
Got a problem with the PC of my protagonist. I copied the script from Fire Red into my own ROM, but for some reason the script doesn't end when clicking cancel.

My problem in-game:
[PokeCommunity.com] Protagonist PC Problem

I don't see the problem in the script.

'---------------
#org 0x805C80
special 0x187
compare LASTRESULT 0x2
if 0x1 goto 0x8805CB4
lockall
setvar 0x8004 0x20
special 0x17D
setvar 0x8004 0x1
special 0xD6
sound 0x4
msgbox 0x8805D20 MSG_KEEPOPEN '"[player] booted up the PC."
special 0xF9
waitstate
special 0x190
releaseall
end

'---------------
#org 0x805CB4
release
end


'---------
' Strings
'---------
#org 0x805D20
= [player] booted up the PC.
------------------------------------

Anyone knows why this occurs?
 
This is extremely weird because the script has a msgbox 0x4 without a closeonkeypress in the Vanilla ROM, but have you tried changing it to 0x6 in your ROM?
Also, make sure in the block editor, that the tile with that PC has the Background Byte 00 20 (Block is covered by Hero).
 
Try special 0xFA and test it.
I know I had this problem as well.
Been awhile though so I can't really say.
 
Back
Top