You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2R-Multitroid-Unofficial-.../Export_Code/gml_Script_display_itemmsg.gml

30 lines
668 B

if (!global.saxmode)
{
global.itmtext1 = argument0
global.itmtext2 = argument1
global.btn1_name = argument2
global.btn2_name = argument3
global.ingame = 0
global.targetx = oCharacter.x
global.targety = oCharacter.y
global.offsetx = 0
global.offsety = 0
global.camstartx = oCamera.x
global.camstarty = oCamera.y
with (oCamera)
{
targetx = x
targety = y
}
room_persistent = true
oCharacter.persistent = 0
oCamera.persistent = 0
global.currentroom = room
global.transitiontype = 3
with (oControl)
event_user(3)
room_goto(itemroom)
}
else
sfx_play(sndMessage)