You've already forked AM2R-Community-Updates
mirror of
https://github.com/izzy2lost/AM2R-Community-Updates.git
synced 2026-03-10 11:23:35 -07:00
24 lines
597 B
Plaintext
24 lines
597 B
Plaintext
/// 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);
|