DaleFails
Pokémon: Giovanni Origins developer
- 251
- Posts
- 13
- Years
- Seen yesterday
Hi all,
Thanks again to anybody who has helped me with a scripting query lately.
Another issue I have encountered...
I have a script tile which only becomes active after you defeat the third gym. The script activates after you exit the gym. Upon activation I want Prof Oak to walk into the players view, talk to the player, and then walk off and disappear again.
My issue: I inserted the Overworld for Prof Oak into AM, however I want the sprite to be hidden until the script is activated. Prof Oak's overworld should then be unhidden, he walks on screen, talks, walks off screen, becomes hidden again.
I can successfully remove the sprite but am struggling to keep the sprite as hidden before the script and only showing once the script begins. If I set the sprite to hidden in AM and use 'showsprite' this does not work. Prof Oak remains invisible.
I tried to use to 'movesprite' function but that does not seem to work? My logic here was that I could have Oak as non-hidden in the corner of the map, move his sprite at the start of the script, he walk on screen, talk, walk off screen and then disappear. All other aspects of the script work fine.
Any help with the 'movesprite' function or another alternative would be appreciated. My hacks pre-release is getting so close and I'm mega excited, just need to resolve a few issues like the above... Thanks all!
Thanks again to anybody who has helped me with a scripting query lately.
Another issue I have encountered...
I have a script tile which only becomes active after you defeat the third gym. The script activates after you exit the gym. Upon activation I want Prof Oak to walk into the players view, talk to the player, and then walk off and disappear again.
My issue: I inserted the Overworld for Prof Oak into AM, however I want the sprite to be hidden until the script is activated. Prof Oak's overworld should then be unhidden, he walks on screen, talks, walks off screen, becomes hidden again.
I can successfully remove the sprite but am struggling to keep the sprite as hidden before the script and only showing once the script begins. If I set the sprite to hidden in AM and use 'showsprite' this does not work. Prof Oak remains invisible.
I tried to use to 'movesprite' function but that does not seem to work? My logic here was that I could have Oak as non-hidden in the corner of the map, move his sprite at the start of the script, he walk on screen, talk, walk off screen and then disappear. All other aspects of the script work fine.
Any help with the 'movesprite' function or another alternative would be appreciated. My hacks pre-release is getting so close and I'm mega excited, just need to resolve a few issues like the above... Thanks all!