- 8
- Posts
- 6
- Years
- Seen May 5, 2019
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 @bitch
end
#org @givewater
giveegg 0x014A
fanfare 0x13E
msgbox @notifyw 0x4
waitfanfare
closeonkeypress
setflag 0x2267
setflag 0x829
msgbox @4 0x2
end
#org @bitch
msgbox @bbitch 0x4
closeonkeypress
end
#org @bbitch
= 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)
#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 @bitch
end
#org @givewater
giveegg 0x014A
fanfare 0x13E
msgbox @notifyw 0x4
waitfanfare
closeonkeypress
setflag 0x2267
setflag 0x829
msgbox @4 0x2
end
#org @bitch
msgbox @bbitch 0x4
closeonkeypress
end
#org @bbitch
= 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)