Where is the data that activates that event? Tbh, the game is literally done, and I want to correct every possible glitch I can. If no one helps me with that, then I would have to start over. But I'd rather just cancel the game rather than doing that, so any help would be appreciated.
The data is in 1EA551, use XSE to search 1EA551, and find out what is the difference between yours and this, then correct it to this:
'---------------
#org 0x1EA551
lockall
getplayerpos 0x8008 0x8009
compare 0x8008 0x9
if 0x1 call 0x81EA63A
compare 0x8008 0x9
if 0x5 call 0x81EA65C
pause 0x14
checkgender
compare LASTRESULT 0x0
if 0x1 call 0x81EA630
compare LASTRESULT 0x1
if 0x1 call 0x81EA635
compare 0x8008 0x9
if 0x1 call 0x81EA6A1
compare 0x8008 0x9
if 0x5 call 0x81EA6AC
checkgender
compare LASTRESULT 0x0
if 0x1 goto 0x81EA5B5
compare LASTRESULT 0x1
if 0x1 goto 0x81EA5DA
end
'---------------
#org 0x1EA63A
applymovement 0x8 0x82725A6
waitmovement 0x0
sound 0x15
applymovement 0x8 0x8272598
waitmovement 0x0
applymovement 0x8 0x827259A
waitmovement 0x0
return
'---------------
#org 0x1EA65C
setdooropened 0xC 0xF
doorchange
showsprite 0x8
applymovement 0x8 0x81EA6F8
waitmovement 0x0
setdoorclosed 0xC 0xF
doorchange
applymovement 0x8 0x82725A4
waitmovement 0x0
sound 0x15
applymovement 0x8 0x8272598
waitmovement 0x0
applymovement 0x8 0x827259A
waitmovement 0x0
applymovement MOVE_PLAYER 0x82725A8
waitmovement 0x0
return
'---------------
#org 0x1EA630
playsong 0x19F 0x1
return
'---------------
#org 0x1EA635
playsong 0x1A5 0x1
return
'---------------
#org 0x1EA6A1
applymovement 0x8 0x81EA6F4
waitmovement 0x0
return
'---------------
#org 0x1EA6AC
applymovement 0x8 0x81EA6ED
waitmovement 0x0
return
'---------------
#org 0x1EA5B5
msgbox 0x81EA7C0 MSG_KEEPOPEN '"May: [player]\v\h05! Long time no ..."
giveitem 0x117 0x1 MSG_OBTAIN
setflag 0xDD
msgbox 0x81EA897 MSG_KEEPOPEN '"May: With those Go-Goggles, you'll..."
goto 0x81EA5FF
'---------------
#org 0x1EA5DA
msgbox 0x81EA9A2 MSG_KEEPOPEN '"Brendan: [player], hey, it's been ..."
giveitem 0x117 0x1 MSG_OBTAIN
setflag 0xDD
msgbox 0x81EAA2E MSG_KEEPOPEN '"Brendan: Keep those with you if yo..."
goto 0x81EA5FF
'---------------
#org 0x1EA5FF
closeonkeypress
hidesprite 0x8
showsprite 0x7
pause 0x1E
compare 0x8008 0x9
if 0x1 call 0x81EA6B7
compare 0x8008 0x9
if 0x5 call 0x81EA6C9
hidesprite 0x7
setvar 0x4053 0x2
clearflag 0x4000
playsong2 0x0
fadedefault
releaseall
end
'---------------
#org 0x1EA6B7
applymovement MOVE_PLAYER 0x81EA6DF
applymovement 0x7 0x81EA6E3
waitmovement 0x0
return
'---------------
#org 0x1EA6C9
applymovement 0x7 0x81EA6D4
waitmovement 0x0
return
'---------
' Strings
'---------
#org 0x1EA7C0
= May: [player]\v\h05! Long time no see!\pOh? While I visited the hot springs,\nyou got the Lavaridge Gym Badge.\pYou must have collected\ngood Pokémon[.]\lNo, I believe you raised some.\pI guess it would be okay for you to\nhave this.
#org 0x1EA897
= May: With those Go-Goggles, you'll\nhave no trouble getting through the\ldesert near Route 111.\pBut, wow, [player]\v\h05[.]\nChallenging Gyms[.]\pYou're trying hard because you don't\nwant to lose to me, I bet!\p[player]\v\h05, I think I should challenge\nyour dad in Petalburg Gym.\pSee you again!
#org 0x1EA9A2
= Brendan: [player], hey, it's been a while.\nHow's it going?\pHmm[.]\nThat's a decent collection of Badges.\pAll right, then.\nYou may as well have this.
#org 0x1EAA2E
= Brendan: Keep those with you if you're\nplanning on going into that desert near\lRoute 111.\pThere should be some Pokémon that\nare exclusively desert-dwellers.\lYou might look around for those.\pAs for me[.]\nI'm considering challenging Norman,\lthe Gym Leader of Petalburg.\pUnlike you, [player], your dad looks like\nhe really is tough.\pSee you around!
'-----------
' Movements
'-----------
#org 0x2725A6
#raw 0x26 'Step on the Spot Up (Fastest)
#raw 0xFE 'End of Movements
#org 0x272598
#raw 0x56 'Exclamation Mark (!)
#raw 0xFE 'End of Movements
#org 0x27259A
#raw 0x14 'Delay5
#raw 0x14 'Delay5
#raw 0x14 'Delay5
#raw 0xFE 'End of Movements
#org 0x1EA6F8
#raw 0x8 'Step Down (Normal)
#raw 0xFE 'End of Movements
#org 0x2725A4
#raw 0x27 'Step on the Spot Left (Fastest)
#raw 0xFE 'End of Movements
#org 0x2725A8
#raw 0x28 'Step on the Spot Right (Fastest)
#raw 0xFE 'End of Movements
#org 0x1EA6F4
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements
#org 0x1EA6ED
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xFE 'End of Movements
#org 0x1EA6DF
#raw 0x14 'Delay5
#raw 0x13 'Delay4
#raw 0x28 'Step on the Spot Right (Fastest)
#raw 0xFE 'End of Movements
#org 0x1EA6E3
#raw 0x15 'Slide Down
#raw 0x18 'Slide Right
#raw 0x18 'Slide Right
#raw 0x18 'Slide Right
#raw 0x18 'Slide Right
#raw 0x18 'Slide Right
#raw 0x18 'Slide Right
#raw 0x18 'Slide Right
#raw 0x18 'Slide Right
#raw 0xFE 'End of Movements
#org 0x1EA6D4
#raw 0x18 'Slide Right
#raw 0x18 'Slide Right
#raw 0x18 'Slide Right
#raw 0x16 'Slide Up
#raw 0x16 'Slide Up
#raw 0x16 'Slide Up
#raw 0x16 'Slide Up
#raw 0x16 'Slide Up
#raw 0x16 'Slide Up
#raw 0x16 'Slide Up
#raw 0xFE 'End of Movements