View Single Post
  #3804    
Old May 9th, 2010 (11:26 AM).
PeregrineFig's Avatar
PeregrineFig
Starting Pokémon Obsidian
 
Join Date: Feb 2010
Location: Michigan, USA
Age: 20
Gender: Male
Nature: Hardy
You had:

msgbox @fightornot 0x5
if 0x1 goto @yes
if 0x0 goto @no

Instead, put:

msgbox @fightornot 0x5
compare 0x800D 0x1
if 0x1 goto @yes
compare 0x800D 0x1
if 0x0 goto @no

Naturally, if it doesn't look at any variable it automatically assumes its value is 0, which is why you always got no. 0x800D is the lastresult variable, so with those compare commands it tells the game to check whether or not the player said yes.
__________________
Current Projects:
POKéMON AQUA SAPPHIRE
POKéMON OBSIDIAN