Advertiser Content

Script HELP WITH FADESCREEN + HIDESPRITE

Started by decnals April 24th, 2019 8:30 PM
  • 204 views
  • 3 replies
Seen May 5th, 2019
Posted May 4th, 2019
8 posts
154 Days
This is my script it lets you choose between three eggs, ive been trying to make the sprite disappear after you receive the egg but im having troubles when I had hidesprite and fade screen to the script. ATM the sprite disappears after you walk away and come back which isnt bad but if they disappeared right away that would look a lot nicer imo. Thanks!




#dynamic 0x802000

#org @start
lock
faceplayer
checkflag 0x2267
if 0x0 goto @give
msgbox @2 0x2
end

#org @give
msgbox @1 0x2
msgbox @3 0x5
compare 0x800D 0x1
if 0x1 goto @givefire
if 0x0 goto @grass
end

#org @givefire
giveegg 0x00E4
fanfare 0x13E
msgbox @notify 0x4

waitfanfare
closeonkeypress
setflag 0x2267
setflag 0x829
msgbox @4 0x2
end

#org @grass
msgbox @5 0x5
compare 0x800D 0x1
if 0x1 goto @givegrass
if 0x0 goto @water
end

#org @givegrass
giveegg 0x012A
fanfare 0x13E
msgbox @notifyg 0x4
waitfanfare
closeonkeypress
setflag 0x2267
setflag 0x829
msgbox @4 0x2
end

#org @water
msgbox @6 0x5
compare 0x800D 0x1
if 0x1 goto @givewater
if 0x0 goto @rattata
end

#org @givewater
giveegg 0x014A
fanfare 0x13E
msgbox @notifyw 0x4
waitfanfare
closeonkeypress
setflag 0x2267
setflag 0x829
msgbox @4 0x2
end

#org @rattata
msgbox @brattata 0x4
closeonkeypress
end

#org @brattata
= FINE THEN!


#org @2
= You only get one!

#org @1
= I'll give you your first EGG!\nChoose one of these three!

#org @3
= Would you like this egg?(fire)

#org @notify
= You received a EGG!

#org @notifyg
= You received a EGG!

#org @notifyw
= You received an EGG!

#org @nick
= Would you like to nickname this pokemon?

#org @nickname
call 0x1A74EB
return

#org @4
= Take care of it!

#org @5
= Do you want this egg?(grass)

#org @6
= Do you want this egg?(water)
Advertiser Content