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.
AM2Rogue/Export_Code/gml_Object_oScanning_Other_...

58 lines
1.7 KiB

var intro;
if global.ophudshowlogmsg
{
global.gotolog = lognumber
notif = instance_create(0, 0, oNotification)
notif.text2 = get_text("ScanEvents", "NewLog_Text")
notif.btn1_name = "Start"
notif.btn2_name = ""
notif.alarm[0] = 360
}
if (mode == 0)
{
global.log[lognumber] = 1
global.newlog[lognumber] = 1
if global.ophudshowlogmsg
notif.text1 = get_text("ScanEvents", "NewLog")
switch lognumber
{
case 21:
intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro)
intro.sprite_index = sIntro_A1
break
case 23:
intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro)
intro.sprite_index = sIntro_A2
break
case 24:
intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro)
intro.sprite_index = sIntro_A3
break
case 26:
intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro)
intro.sprite_index = sIntro_A4
break
case 28:
intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro)
intro.sprite_index = sIntro_A5
break
case 29:
intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro)
intro.sprite_index = sIntro_A7
break
case 6:
intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro)
intro.sprite_index = sIntro_A8
break
}
}
if (mode == 1)
{
global.log[lognumber] = 2
global.newlog[lognumber] = 1
if global.ophudshowlogmsg
notif.text1 = get_text("ScanEvents", "UpdateLog")
}
instance_destroy()