- 18
- Posts
- 2
- Years
- Seen Nov 9, 2023
Im making an NPC in an early town and this flag is supposed to see if you beat the elite four. Even though i did beat the elite four, the event wont trigger. Can anyone help me point out the problem? The two flags in the second section are one for activating the old sea map and one for setting the flag for this event in itself-
'---------------
#org 0xE56D2D
checkflag 0x4FE
if 0x1 goto 0x8E56D41
msgbox 0x8E56D63 0x6 '"Oh! No.. You are not strong enough..."
release
end
'---------------
#org 0xE56D41
msgbox 0x8E56DB5 0x6 '"Oh! You defeated the champion.\nHe..."
giveitem 0x178 0x1 0x0
setflag 0x13C
fadescreen 0x1
hidesprite 0x5
fadescreen 0x0
setflag 0x42
release
end
'---------
' Strings
'---------
#org 0xE56D63
= Oh! No.. You are not strong enough\nkid. Come back after defeating the\lchampion.
#org 0xE56DB5
= Oh! You defeated the champion.\nHere take this Old Sea Map and\ltake it to LILLYCOVE. Challenge\lthe Old Island.
'---------------
#org 0xE56D2D
checkflag 0x4FE
if 0x1 goto 0x8E56D41
msgbox 0x8E56D63 0x6 '"Oh! No.. You are not strong enough..."
release
end
'---------------
#org 0xE56D41
msgbox 0x8E56DB5 0x6 '"Oh! You defeated the champion.\nHe..."
giveitem 0x178 0x1 0x0
setflag 0x13C
fadescreen 0x1
hidesprite 0x5
fadescreen 0x0
setflag 0x42
release
end
'---------
' Strings
'---------
#org 0xE56D63
= Oh! No.. You are not strong enough\nkid. Come back after defeating the\lchampion.
#org 0xE56DB5
= Oh! You defeated the champion.\nHere take this Old Sea Map and\ltake it to LILLYCOVE. Challenge\lthe Old Island.