Hi guys, got another script problem! Please see below...
#dynamic 0x800383
#org @start
lock
checkflag 0x202
checkflag 0x237
if 0x1 goto @battle
faceplayer
msgbox @goaway MSG_KEEPOPEN
closeonkeypress
applymovement 0x7 @lkdwn
release
end
#org @battle
faceplayer
msgbox @intro MSG_KEEPOPEN
closeonkeypress
trainerbattle 0x3 0x3 0x0 @defeat
msgbox @outro MSG_KEEPOPEN
closeonkeypress
fadescreen 0x1
hidesprite 0x7
fadescreen 0x0
setflag 0x202
release
end
#org @lkdwn
#raw 0x0
#raw 0xFE
#org @goaway
= JESSICA: ...\pHmph.\pListen, right now, I don't have\ntime for you.\pJust go away, OK?
#org @intro
= JESSICA: Don't you ever give up?\pLook, [player],\pit's nothing personal, I just\ncan't let you go on.\pThis mission is important to me.\pNow leave.\p...\n...\pStubborn as usual, eh?
#org @defeat
= JESSICA: You know [player], this is\ngetting old REALLY fast.
#org @outro
= JESSICA: I've about had it with\nyou.\pYou've even defeated my colleague,\nLeon.\pUGH!\pJust...just.\pHMPH!
applymovement 0x7 @lkdwn
........
@lkdwn
#raw 0x0 'face down
#raw 0xFE 'end movement
At this point, the sprite in question doesn't look down. I've tried it with and without
faceplayer but I still get the same issue.
Also, I want to hide a sprite on the map then show it when I walk over a certain spot (eg. Rival) but I'm not sure how you hide the sprite. I checked the header scripts but theres nothing in there. Does having "showsprite" automatically hide the sprite?