View Single Post
  #25785    
Old July 4th, 2013 (6:54 PM).
karatekid552's Avatar
karatekid552 karatekid552 is offline
What happens if I push it?....
     
    Join Date: Nov 2012
    Location: Do you really want to know? Really?
    Gender: Male
    Nature: Bold
    Posts: 1,766
    Quote:
    Originally Posted by gogojjtech View Post
    Could you maybe show an example of how I could switch the sprite?
    This would go in the script before you called the old man battle:

    checkgender
    compare 0x800D 0x0
    If 0x1 goto @boy
    Compare 0x800D 0x1
    If 0x1 goto @girl
    (Rest of regular script)

    #org @boy/@girl
    Setvar 0x[Var you picked for backsprite switch] 0x[Backsprite # you want, that is in the table you made]
    return
    __________________

    Paired with Simba