View Single Post
  #802    
Old August 9th, 2012, 10:37 PM
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Quote:
Originally Posted by UberUmbreon View Post
Any advice on how to stop the script after i got the Charizard?
The problem is with checkflag command because it checks the flag but the result isn't used.

Code:
#org @start
checkflag 0x900
if 0x1 goto @ending org 
msgbox @1 0x5
compare LASTRESULT 0x1 //You are testing whether the player chose yes
if 0x1 goto @take
if 0x0 goto @done
msgbox @2 0x6
release
end

#org @ending org
//You need to add that ending org. It could be something like message box with "I've already given you a Charizard, don't be greedy."...
Oh yeah, and that offset you use with #dynamic looks... weird...
Oh and one thing... newest XSE does not work with LASTRESULT, you may need to change it to 0x800D.
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
Reply With Quote