Quote:
Originally Posted by PlatniumPiano
But what if I want that event to happen only if other said event has happened. I don't want him to give me the pokemon whenever, just after a different event. Is there a way to do this?
|
You're looking at the wrong spot. The givepokemon part would occur only when flag 950 (which I assume is the flag in another map) is set, so no problem there.
Hackmew meant that to use another flag for the @done part. Without the flag, the person will always ask you if you want a ponyta.
Fixes in bold and red O_o
Code:
#dynamic 0x800000
#org @start
checkflag 0x950
if 0x1 goto @done
lock
faceplayer
msgbox @whatsup 0x6
release
end
#org @ponyta
setflag 0xaaa
msgbox @give 0x6
givepokemon 0x4D 0xF 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @obtain 0x6
waitfanfare
msgbox @would 0x5
compare LASTRESULT 0x1
if 0x1 call @name
msgbox @call 0x6
setflag 0x800
release
end
#org @done
checkflag 0xaaa
if 1 goto @offset
lock
faceplayer
msgbox @hey 0x5
compare LASTRESULT 0x1
if 0x1 goto @ponyta
msgbox @sorry 0x6
release
end
#org @name
fadescreen 0x1
special 0x9E
waitstate
return
#org @offset
lock
faceplayer
message @message 6
release
end
#org @message
= You've got a Ponyta already.
#org @hey
= Hey, [player], what brings you\nhere on my day off?\p... ... ...\n... .... ...\l... ... ...\l... ... ...\pYou can't be serious...\n...Mew?\pWell, if this is true, then\nI guess you will need a POKéMON.
#org @give
= That's a wise choice.\pIt's not often you have\nan encounter with Mew.
#org @obtain
= You got a Ponyta!
#org @would
= Would you like to give a\nnickname to this POKéMON?
#org @call
= Well... we got you a\nPOKéMON.\lNow what?\p... ... ...\n... ... ...\lLord Aspen, eh?\pListen, Aspen is a seasoned POKéMON\nveteran, so with that guy there,\lI doubt you could win.\pHowever.\pIf you must, there is a cavern\nwhere you can train that\lhorse, located in the caves, one level above Aspens.
#org @whatsup
= Hey, [player], what's up?
#org @sorry
= Oh...\nWell, I'm sorry to hear that.
Just replace aaa with an unused flag. (or flag 800.. well, maybe 800 is better

)
Of course, I could have misunderstood you. If you meant that whether or not the flag is set, the person always says @whatsup, then nevermind the above fixes and try using another flag.
Quote:
Originally Posted by Xatoku
Well 0x5 has Unkown 03, Movement 11 and Person ID 002c
|
Could that be the sprite switch bug?
Probably not :\
__________________
*´¨) Love life! Get paid!! Get laid!!!!
¸.•´¸.•*´¨) ¸.•*¨) I'm the DiStOrTeD one
(¸.•´ (¸.•` * ..:¨¨**¤°¨¨°...............