View Single Post
  #3803    
Old May 9th, 2010 (11:26 AM).
PeregrineFig's Avatar
PeregrineFig PeregrineFig is offline
Starting Pokémon Obsidian
     
    Join Date: Feb 2010
    Location: Michigan, USA
    Age: 22
    Gender: Male
    Nature: Hardy
    Posts: 202
    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