View Single Post
  #2739    
Old December 24th, 2009 (2:40 PM).
lugiaguy lugiaguy is offline
     
    Join Date: Nov 2009
    Posts: 3
    Can someone help me? I'm having trouble with warp scripts. Here's one that I recently put together.

    Code:
    '---------------
    #org 0x801240
    lock
    faceplayer
    countpokemon
    compare LASTRESULT 0x1
    if 0x1 goto 0x880125C
    release
    end
    '---------------
    #org 0x80125C
    lock
    faceplayer
    warp 0x18 0x58 0x0 0x0 0x0
    release
    end
    Basically, if the player has 1 pokemon in his party, he warps, if he has more or less, he doesn't warp. I want the player to warp to (24,88) or (18,58) in hex. Unfortunately, when I use this script, the game just freezes.