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.
24 lines
597 B
24 lines
597 B
/// display_itemmsg(text1, text2, btn1_name, btn2_name)
|
|
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 = false;
|
|
oCamera.persistent = false;
|
|
global.currentroom = room;
|
|
global.transitiontype = 3;
|
|
with (oControl) event_user(3);
|
|
room_goto(itemroom);
|