The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > trebornosliw
Reload this Page Conversation Between trebornosliw and Tropical Sunlight

Notices
For all updates, view the main page.

Ad Content
Conversation Between trebornosliw and Tropical Sunlight
Showing Visitor Messages 1 to 4 of 4
  1. Tropical Sunlight
    March 6th, 2010 1:31 AM
    Tropical Sunlight
    Your second reply :P
    Sorry if I wasn't clear enough
  2. trebornosliw
    March 5th, 2010 9:48 AM
    trebornosliw
    Oh wait, did you mean when I try to use it on a normal person sprite? No idea, haven't tried yet, lol :P
    I am deeply confused 0.o
  3. trebornosliw
    March 5th, 2010 9:45 AM
    trebornosliw
    Do you mean, how do I use Rock Smash in HT, or how does the movement work?
    I'm going to assume the latter, so here's how I did it, it's pretty simple:
    To put a rock smash in any script, you'll need this:
    Spoiler:

    ...
    applymovement 0x(rock to be smashed) @smash
    hidesprite 0x(rock to be smashed)
    ...

    #org @smash
    #raw 0x68
    #raw 0xFE

    How this works, is the applymovement makes the rock move through a series of frames (you can look at or edit them in OWEditor RE), to look like it's breaking apart. Then hidesprite kicks in, hiding the rock, and since you're not setting a flag, the hidesprite isn't permanent, so the rock will reappear after you leave the map.
    If you want the script to be useable for all smashable rocks (for instance, I use the same script for all of my rocks, to give the player an extra smashing option), just make sure each rock has a unique PersonID, and instead of the hex value after applymovement or hidesprite, put LASTTALKED.
    Does that answer your question?
  4. Tropical Sunlight
    March 5th, 2010 8:08 AM
    Tropical Sunlight
    What are the results of the Rock Smash special? I'm interested :P

All times are GMT -8. The time now is 9:06 AM.