• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
Chimchar 9
Reaction score
13

Profile posts Latest activity Postings Media Albums About

  • I hope she gets better. It would be horrible if anything happened to her. x_x

    And as for my hack, not much has been done lately, I've been busy with school and helping Goodies and HFI with their hacks. I'll be able to work on it once school is over. ^_^
    Always changing your name... :)
    Anyways, Thanks! The suppose the next video will be about movement. Everyone seems to want that video to come. I'll probably cover the applymovement and grabmove commands. Then maybe wild battles, or flags. Probably flags first, as many more people want flags to be explained. I have two more new videos uploaded if you'd like to check them out. One involves the song of storms from zelda, and the other involves a lightsaber! ;)
    Cool.
    Good to see you hacking again, cant wait for those new maps i wish to see xD.
    Anyway i am planning to return to hacking. Been a while and wish to make some hacking again.
    It's real simple, look:

    #org @start
    setvar 0x4013 0x1
    goto @script
    end

    #org @script
    compare 0x4013 0x1
    if 0x1 goto @left_trigger
    compare 0x4013 0x2
    if 0x1 goto @middle_trigger
    compare 0x4013 0x3
    if 0x1 goto @right_trigger
    release
    end

    #org @left_trigger
    'Script for the left trigger
    release
    end

    #org @middle_trigger
    'script for the middle trigger
    release
    end

    #org @right_trigger
    'Script for the right trigger
    release
    end

    So I compiled it, and got this example offset for "@script, 0x801000.

    What you should do now, is plug it into the next two scripts:

    #org @start
    setvar 0x4013 0x2
    goto 0x801000
    end

    #org @start
    setvar 0x4013 0x3
    goto 0x801000
    end

    Why? To save space... The real script is 0x801000, and that's where it checks which variable was set. And to set a variable, you must step on that trigger. Now depending on which trigger you step on, a variable's value is set. For instance, if you step on the Middle one, value 2 is set for 0x4013.

    When one value is set for a variable (in this situation) the other ones don't matter. Because it is only checking if ONE has been set, and if none have been set than the script will end. If one has been set, then the script will execute the script part accordingly.

    And if this didn't help you, I'm afraid you need to read some tutorials...But hopefully you are a better scripter than I had in Mind ^_^

    ONE MORE THING! ....Have fun :P
    I really don't know how to make it simpler =\
    What part confuses you, the Pokeall part or the triggers?
    Yeah xD. Atm I think this could be one of my best maps yet :P I'll show you when I'm finished.
    Yeah, but not permanently. I am focusing on Shian really, but at the moment I don't have the rom. So, I am bored and decided to do some work on it. I am now re-mapping Route 1 xD. I restarted and I'm using default tiles :P
    Meh, I just started doing some bits and bobs on SY xD. I just mapped and scripting Pallet Town :P
    xD Seems you got a bit unlucky :P It took mine two hours. But, I am getting a new name on the 14th.
    I mean, I wanted to be original, using tiles no one else did...But hey, if you really want them, go ahead ;)

    Umm..What problems with scripts were you talking about?
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Back
Top