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_oItemCutscene_Cr...

33 lines
529 B

opset = 0
ealpha = 0
fadeout = 0
active = 0
size = 0
if instance_exists(oNotification)
oNotification.visible = false
Mute_Loops()
if (global.itemtype == 0)
{
alarm[0] = 360
if (oMusicV2.bossbgm == sndJump)
mus_pause(oMusicV2.currentbgm)
else
mus_pause(oMusicV2.bossbgm)
mus_play_once(musItemGet)
}
else
{
alarm[0] = 60
sfx_play(sndMessage)
}
if oControl.widescreen
{
surf = oControl.widescreen_surface
surfoff = 53
}
else
{
surf = oControl.screen_surface
surfoff = 0
}