- 252
- Posts
- 12
- Years
- Seen Jul 6, 2019
So I never thought I'd be asking something like this again, but I'm having an issue: I can't find the level script that activates in the first floor of the player's house after the Elite Four. And before you ask, yes I looked through all the map scripts. I even used Control + H and decompiled the map script offset. But I can't find it. Is there an issue with XSE regarding type 2 level scripts, or am I just being dumb?
EDIT: I'll just post the decompiled level script I'm getting, so you guys can get a sense of what's happening to me:
This is for Emerald btw, not Firered.
EDIT: I'll just post the decompiled level script I'm getting, so you guys can get a sense of what's happening to me:
Spoiler:
'---------------
#org 0x1F7755
#raw 0x1
#raw pointer 0x81F7765
#raw 0x3
#raw pointer 0x81F77A4
#raw 0x2
#raw pointer 0x81F77EA
#raw 0x0
'---------------
#org 0x1F77EA
#raw word 0x4092
#raw word 0x3
#raw pointer 0x81F783C
#raw word 0x4092
'---------------
#org 0x1F7765
compare 0x4092 0x6
if 0x0 call 0x81F777A
checkflag 0x112
if 0x1 call 0x81F778D
end
'---------------
#org 0x1F77A4
compare 0x4092 0x3
if 0x1 call 0x81F77DE
compare 0x4092 0x5
if 0x1 call 0x81F77C6
compare 0x4092 0x6
if 0x1 call 0x81F77D2
end
'---------------
#org 0x1F783C
lockall
setvar 0x8004 0x1
setvar 0x8005 0x0
goto 0x8292704
'---------------
#org 0x1F777A
setmaptile 0x5 0x4 0x270 0x1
setmaptile 0x5 0x2 0x268 0x1
return
'---------------
#org 0x1F778D
checkgender
compare LASTRESULT 0x0
if 0x1 goto 0x81F779A
return
'---------------
#org 0x1F77DE
movesprite2 0x1 0x9 0x8
spritebehave 0x1 0x7
return
'---------------
#org 0x1F77C6
movesprite2 0x1 0x8 0x4
spritebehave 0x1 0x7
return
'---------------
#org 0x1F77D2
movesprite2 0x1 0x4 0x5
spritebehave 0x1 0x7
return
'---------------
#org 0x292704
msgbox 0x81F7A1C MSG_KEEPOPEN '"MOM: See, [player]?\nIsn't it nice..."
applymovement 0x8004 0x827259E
waitmovement 0x0
compare 0x8005 0x0
if 0x1 call 0x829274D
compare 0x8005 0x1
if 0x1 call 0x8292758
msgbox 0x81F7A46 MSG_KEEPOPEN '"The mover's POKéMON do all the wor..."
closeonkeypress
setvar 0x4092 0x4
applymovement MOVE_PLAYER 0x8292763
applymovement 0x8004 0x82725A6
waitmovement 0x0
releaseall
end
'---------------
#org 0x1F779A
setmaptile 0x3 0x7 0x293 0x1
return
'---------------
#org 0x29274D
applymovement MOVE_PLAYER 0x82725A8
waitmovement 0x0
return
'---------------
#org 0x292758
applymovement MOVE_PLAYER 0x82725A4
waitmovement 0x0
return
'---------
' Strings
'---------
#org 0x1F7A1C
= MOM: See, [player]?\nIsn't it nice in here, too?
#org 0x1F7A46
= The mover's POKéMON do all the work\nof moving us in and cleaning up after.\lThis is so convenient!\p[player], your room is upstairs.\nGo check it out, dear!\pDAD bought you a new clock to mark\nour move here.\lDon't forget to set it!
'-----------
' Movements
'-----------
#org 0x27259E
#raw 0x3E 'Face Player
#raw 0xFE 'End of Movements
#org 0x292763
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements
#org 0x2725A6
#raw 0x26 'Step on the Spot Up (Fastest)
#raw 0xFE 'End of Movements
#org 0x2725A8
#raw 0x28 'Step on the Spot Right (Fastest)
#raw 0xFE 'End of Movements
#org 0x2725A4
#raw 0x27 'Step on the Spot Left (Fastest)
#raw 0xFE 'End of Movements
#org 0x1F7755
#raw 0x1
#raw pointer 0x81F7765
#raw 0x3
#raw pointer 0x81F77A4
#raw 0x2
#raw pointer 0x81F77EA
#raw 0x0
'---------------
#org 0x1F77EA
#raw word 0x4092
#raw word 0x3
#raw pointer 0x81F783C
#raw word 0x4092
'---------------
#org 0x1F7765
compare 0x4092 0x6
if 0x0 call 0x81F777A
checkflag 0x112
if 0x1 call 0x81F778D
end
'---------------
#org 0x1F77A4
compare 0x4092 0x3
if 0x1 call 0x81F77DE
compare 0x4092 0x5
if 0x1 call 0x81F77C6
compare 0x4092 0x6
if 0x1 call 0x81F77D2
end
'---------------
#org 0x1F783C
lockall
setvar 0x8004 0x1
setvar 0x8005 0x0
goto 0x8292704
'---------------
#org 0x1F777A
setmaptile 0x5 0x4 0x270 0x1
setmaptile 0x5 0x2 0x268 0x1
return
'---------------
#org 0x1F778D
checkgender
compare LASTRESULT 0x0
if 0x1 goto 0x81F779A
return
'---------------
#org 0x1F77DE
movesprite2 0x1 0x9 0x8
spritebehave 0x1 0x7
return
'---------------
#org 0x1F77C6
movesprite2 0x1 0x8 0x4
spritebehave 0x1 0x7
return
'---------------
#org 0x1F77D2
movesprite2 0x1 0x4 0x5
spritebehave 0x1 0x7
return
'---------------
#org 0x292704
msgbox 0x81F7A1C MSG_KEEPOPEN '"MOM: See, [player]?\nIsn't it nice..."
applymovement 0x8004 0x827259E
waitmovement 0x0
compare 0x8005 0x0
if 0x1 call 0x829274D
compare 0x8005 0x1
if 0x1 call 0x8292758
msgbox 0x81F7A46 MSG_KEEPOPEN '"The mover's POKéMON do all the wor..."
closeonkeypress
setvar 0x4092 0x4
applymovement MOVE_PLAYER 0x8292763
applymovement 0x8004 0x82725A6
waitmovement 0x0
releaseall
end
'---------------
#org 0x1F779A
setmaptile 0x3 0x7 0x293 0x1
return
'---------------
#org 0x29274D
applymovement MOVE_PLAYER 0x82725A8
waitmovement 0x0
return
'---------------
#org 0x292758
applymovement MOVE_PLAYER 0x82725A4
waitmovement 0x0
return
'---------
' Strings
'---------
#org 0x1F7A1C
= MOM: See, [player]?\nIsn't it nice in here, too?
#org 0x1F7A46
= The mover's POKéMON do all the work\nof moving us in and cleaning up after.\lThis is so convenient!\p[player], your room is upstairs.\nGo check it out, dear!\pDAD bought you a new clock to mark\nour move here.\lDon't forget to set it!
'-----------
' Movements
'-----------
#org 0x27259E
#raw 0x3E 'Face Player
#raw 0xFE 'End of Movements
#org 0x292763
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements
#org 0x2725A6
#raw 0x26 'Step on the Spot Up (Fastest)
#raw 0xFE 'End of Movements
#org 0x2725A8
#raw 0x28 'Step on the Spot Right (Fastest)
#raw 0xFE 'End of Movements
#org 0x2725A4
#raw 0x27 'Step on the Spot Left (Fastest)
#raw 0xFE 'End of Movements
This is for Emerald btw, not Firered.
Last edited: