@ X-Ray: If you really want to, I have no problem with it ^^
What should happen: You come closer to larvitar, it's blocking the right exit of the cave.
If you step onto a tile (you'll have to make more scripts for each of them with the same checkflag) an earthquake should activate. Than u say somethin like: So this larvitar was the trigger for the earthquakes. So I'll have to battle it to make this stop.
Then u step in front of it and the battle will start, u defeat/capture shiny larvitar and afterwards the sprite disappeares.
but this is not the end of the script, the rival will appeare from the left (since the exit is right and you'll be standing there xD) and say somthin like: Oh no, you were faster.
It's really annoying. I want to proof that I'm better than u.
Time for a battle.
Then the battle starts and u fight against him, he'll say afterwards that he accept his failure etc..just like everytime ^^
make him vanish through the right exit.
then the script will end.
use check/setflag 0x506, pls ^^
And there is another entrace which leads to the upper part out of the cave. There should be a person blocking the way, until larvitar is captured/beaten.
I'll edit the shiny routine and change the rivals pokemon now.
Afterwards I'll send u the changed patch and u can do ur scripts ^^
er.neti, do u want to first give me a patch of yours so u don't have to reinsert the sprites?
Inserting scripts doesn't take long time ^^