- 44
- Posts
- 9
- Years
- Seen Feb 24, 2022
I'm trying to have it so once you step onto this tile this event will trigger.
Here is my script after compiling it
'---------------
#org 0x2C9128
checkflag 0x1
if 0x1 goto 0x82C9169
applymovement 0x1 0x82C9170
waitmovement 0x0
msgbox 0x82C917F MSG_NORMAL '"???: Hi! You must be [player]\nMy ..."
applymovement MOVE_PLAYER 0x82C91EA
applymovement 0x1 0x82C91FB
waitmovement 0x0
msgbox 0x82C920F MSG_NORMAL '"Jen:Your room is the first one ins..."
setflag 0x1
release
end
'---------------
#org 0x2C9169
hidesprite 0x1
end
'---------
' Strings
'---------
#org 0x2C917F
= ???: Hi! You must be [player]\nMy name is Jen.\nI will be your Resident Advisor.\nCome on I'll show you our room.
#org 0x2C920F
= Jen:Your room is the first one inside\nDavid, your roomate, should be inside.
'-----------
' Movements
'-----------
#org 0x2C9170
#raw 0x15 'Slide Down
#raw 0x15 'Slide Down
#raw 0x15 'Slide Down
#raw 0x15 'Slide Down
#raw 0x2 'Face Left
#raw 0x17 'Slide Left
#raw 0x17 'Slide Left
#raw 0x17 'Slide Left
#raw 0x17 'Slide Left
#raw 0x17 'Slide Left
#raw 0x17 'Slide Left
#raw 0x17 'Slide Left
#raw 0x17 'Slide Left
#raw 0x56 'Exclamation Mark (!)
#org 0x2C91EA
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0x1 'Face Up
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#org 0x2C91FB
#raw 0x3 'Face Right
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0x1 'Face Up
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x2 'Face Left
#raw 0xA 'Step Left (Normal)
#raw 0x3 'Face Right
So basically once you step on this tile I want the person sprite I have on my map to walk over, say something to the player, lead them somewhere, say something else to the player, then release them. The problem right now is once you step on the script tile your movement becomes locked like the script is starting but the other person never walks over and you become stuck on this tile. Any reason why this happens?
Here is my script after compiling it
Spoiler:
'---------------
#org 0x2C9128
checkflag 0x1
if 0x1 goto 0x82C9169
applymovement 0x1 0x82C9170
waitmovement 0x0
msgbox 0x82C917F MSG_NORMAL '"???: Hi! You must be [player]\nMy ..."
applymovement MOVE_PLAYER 0x82C91EA
applymovement 0x1 0x82C91FB
waitmovement 0x0
msgbox 0x82C920F MSG_NORMAL '"Jen:Your room is the first one ins..."
setflag 0x1
release
end
'---------------
#org 0x2C9169
hidesprite 0x1
end
'---------
' Strings
'---------
#org 0x2C917F
= ???: Hi! You must be [player]\nMy name is Jen.\nI will be your Resident Advisor.\nCome on I'll show you our room.
#org 0x2C920F
= Jen:Your room is the first one inside\nDavid, your roomate, should be inside.
'-----------
' Movements
'-----------
#org 0x2C9170
#raw 0x15 'Slide Down
#raw 0x15 'Slide Down
#raw 0x15 'Slide Down
#raw 0x15 'Slide Down
#raw 0x2 'Face Left
#raw 0x17 'Slide Left
#raw 0x17 'Slide Left
#raw 0x17 'Slide Left
#raw 0x17 'Slide Left
#raw 0x17 'Slide Left
#raw 0x17 'Slide Left
#raw 0x17 'Slide Left
#raw 0x17 'Slide Left
#raw 0x56 'Exclamation Mark (!)
#org 0x2C91EA
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0x1 'Face Up
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#org 0x2C91FB
#raw 0x3 'Face Right
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0x1 'Face Up
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x2 'Face Left
#raw 0xA 'Step Left (Normal)
#raw 0x3 'Face Right
So basically once you step on this tile I want the person sprite I have on my map to walk over, say something to the player, lead them somewhere, say something else to the player, then release them. The problem right now is once you step on the script tile your movement becomes locked like the script is starting but the other person never walks over and you become stuck on this tile. Any reason why this happens?