View Single Post
Old February 21st, 2012 (4:55 PM).
redriders180's Avatar
redriders180 redriders180 is offline
Mastermind of Pokemon Glazed
    Join Date: Jun 2010
    Location: Path of Victory, Tunod
    Gender: Male
    Nature: Quirky
    Posts: 540
    Originally Posted by darkprince909 View Post
    Well I looked at the tutorial for cmda6, and there was nothing mentioned about the soot sack specifically. My guess is this particular tile with the particular tile behavior reacts to the cmda6 script. I tested these tiles on a map without this script and there was no animation and no finding of wild pokemon. And it also does work when theres something on the top layer as well. The problem I was having with it was that I don't know how to link specific tiles together for the script to change them how I need them to. The snow covered grass always changed to the grass with the snow shaken off. Every other block in the tileset that i give this behavior byte to always switches to a certain other block in the tileset, which I put one half of the tree on. So basically, half of the tree with grass behind it works. What I need to know is if theres a way to manually link the blocks together so that I could have a certain block always change to a certain other block, like how the normal snow-covered grass always changes to the grass with the snow shaken off, when I have this script active.

    It'd be similar to this, I'm guessing, except say the red blocks were normal snow grass, blue was the left side of the tree, and white is the right side of the tree

    Sorry if I'm just missing something, but I don't think you quite understood what I was asking with that, and I might not have explained it as well as I could have.
    Of course it's possible I was wrong. The only reason I assumed cmda06 wasn't necessary was because the tutorial for unlocking it in Firered made no mention of it. My assumption of the background bytes not working was because of the same tutorial, which only has a spot for inputting the ashy grass, the grass with ashy background, and the normal grass, and nothing else, but that may be because of the script.

    I assume (not like my assumptions seem to ever hold true) that there's a sort of table in the rom, which cmda06 calls. assuming that you could find this, you could write another ASM script which would handle the background tree tiles, and put it in the table in question. The simplest way, in my opinion, would be to add setmaptile scripts to each place underneath the tree, and play the animation involved with the puff of ash. All of these things I believe you can access in a script. setanimation and doanimation can play the puff of dust. (0x7 is the ashgrass dust cloud, but the list I have also says it does a setmaptile part, so 0xA should also work [0xA is the dust cloud when the player jumps off a ledge])

    And you explained it perfectly clear, i was just being stupid, so no hard feelings?

    I think I'm done with ROM hacking. I'll still pop in and visit, though.