View Single Post
Old August 9th, 2012 (10:37 PM).
Satoshi Ookami's Avatar
Satoshi Ookami Satoshi Ookami is offline
Memento Mori
  • Gold Tier
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 25
Gender: Male
Nature: Calm
Posts: 14,497
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.

#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

#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.

Anime List | PSN Trophy List
Reply With Quote