ChaosSigma0
How do I change this stupid username?
- 16
- Posts
- 11
- Years
- Jamaica
- Seen May 28, 2021
(I hope this is in the right place...) Greetings, fellow humans.
I've been working on a romhack of my own, on and off, for a few months now. And now I've got to a point where I'm stuck...
I'm using Advance Map and PKSVUI. Here's the code:
When the battle is complete, the screen is supposed to fade to black and back with the pokemon gone, some text, and an item 'dropped'. But as soon as I take another step, it appears again in the same spot! Interacting with it again repeats the whole thing over again.
I just don't know what went wrong.
Please help, I'm not exactly well-versed in this scripting business as this is my first romhack. I'm good at designing maps, but scripting looks like a pain.
I've been working on a romhack of my own, on and off, for a few months now. And now I've got to a point where I'm stuck...
I'm using Advance Map and PKSVUI. Here's the code:
Spoiler:
Code:
#org 0x87410EF
'-----------------------------------
lock
faceplayer
cry MEW 0x0
waitcry
pause 0x14
battle MEW 10 LUMBERRY
lastbattle
fadescreen FADEOUT_BLACK
disappear LASTTALKED
fadescreen FADEIN_BLACK
setflag 0x1110
msgbox 0x87CEE1A ' The Mew flew away[.]...
callstd MSG_LOCK ' Built-in lock command
copyvarifnotzero 0x8000 FLUFFYTAIL
copyvarifnotzero 0x8001 0x1
callstd MSG_FIND ' PLAYER found one XXXXXX!
release
end
#org 0x87CEE1A
= The Mew flew away[.]\lHuh? It dropped something[.]
When the battle is complete, the screen is supposed to fade to black and back with the pokemon gone, some text, and an item 'dropped'. But as soon as I take another step, it appears again in the same spot! Interacting with it again repeats the whole thing over again.
I just don't know what went wrong.
Please help, I'm not exactly well-versed in this scripting business as this is my first romhack. I'm good at designing maps, but scripting looks like a pain.