View Single Post
  #3821    
Old May 12th, 2010, 12:09 PM
Metroid Die
Beginning Trainer
 
Join Date: Mar 2009
Hey, me once again.

Sorry If I'm a nuisance, but I can't find tutorials to my questions anywhere...

Alright, my problem is this: My script is set on the square right outside a door (your house when you start in it). However, when I leave my house, I want the script to trigger, but it doesn't work unless I walk away and then walk back on the square.

Also, a quick question, how do you script a sprite and/or the player enter a building through a door?

#dynamic 0x800D65
#org @start
checkflag 0x323
if 0x1 goto @fine
msgbox @1 0x6
applymovement 0x0FF @fce
applymovement 0x05 @move
waitmovement 0x0
msgbox @2 0x6
applymovement 0x05 @move2
applymovement 0xFF @move3
waitmovement 0x0
release
end
#org @fine
release
end
#org @1
= Hey, wait up!
#org @move
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE
#org @2
= I heard you moved here.\pMy name is James, nice to\nmeet you.\pProfessor Redbark asked me\nto find you.\pHere, follow me.
#org @move2
#raw 0x12
#raw 0x12
#raw 0x11
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x11
#raw 0xFE
#org @move3
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x11
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x11
#raw 0xFE
#org @fce
#raw 0x02
#raw 0xFE

If any of you guys could help me out, once again I'd be so happy