Information about object: HorseRaceMusicButton
Sprite: HorseRaceRemixLocked
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: <no parent>
Mask: <same as sprite>
Step Event:
if global.horseraceunlocked is equal to 1
set the sprite to HorseRaceRemixButtonUnlocked with subimage 0 and speed 1
else
exit this event
Mouse Event for Left Button:
execute code:
message_background(KuTalkBG)
message_button(TalkButton)
message_button_font(ButtonFont,8,c_yellow,0)
message_size(229,242)
message_text_font(ButtonFont,8,c_blue,0)
if global.horseraceunlocked is equal to 1
go to room HorseRaceRoom with transition effect Blend
else
if global.horseraceunlocked is equal to 0
if the player does say yes to the question: #####Would you like to purchase "Horse Race Remix" bonus song for 4 Secret Bits?
if global.secretbits is equal to 4
set variable global.horseraceunlocked to 1
display message: #####You have purchased: Horse Race Remix.
set variable global.secretbits relative to -4
else
if global.secretbits is larger than 4
set variable global.horseraceunlocked to 1
display message: #####You have purchased: Horse Race Remix.
set variable global.secretbits relative to -4
else
if global.secretbits is smaller than 4
display message: #####You do not have enough Secret Bits.
exit this event
else
exit this event
Thanks a lot for helping!!



Find content
Male

