RealmFiles/Script/Script58002.txt

471 lines
6.9 KiB
Plaintext

PolyRect::checkPolyKludge:
link $5
pushi $e8 ; 232, intersects
push1
lsp param[$1]
self $6
bnot
bnt code_01ac
push1
pushi $87 ; 135, left
push0
lap param[$1]
send $4
bnot
push
pToa left
sub
push
callk kernel_61, $2
bnot
sat temp[$1]
push1
pushi $88 ; 136, right
push0
lap param[$1]
send $4
bnot
push
pToa right
sub
push
callk kernel_61, $2
bnot
sat temp[$2]
push1
pushi $89 ; 137, top
push0
lap param[$1]
send $4
bnot
push
pToa top
sub
push
callk kernel_61, $2
bnot
sat temp[$3]
push1
pushi $8a ; 138, bottom
push0
lap param[$1]
send $4
bnot
push
pToa bottom
sub
push
callk kernel_61, $2
bnot
sat temp[$4]
lst temp[$1]
ldi $2
lt?
bt code_01a7
lst temp[$2]
ldi $2
lt?
bt code_01a7
lst temp[$3]
ldi $2
lt?
bt code_01a7
lst temp[$4]
ldi $2
lt?
code_01a7: bnt code_01ac
ldi $1
ret
code_01ac: ldi $0
ret
WObjectList::add:
link $1
pushi $a3 ; 163, contains
push1
lsp param[$1]
self $6
bnot
bnt code_01bd
ret
code_01bd: pushi $9f ; 159, add
push1
lsp param[$1]
super List, $6
bnot
lag global[$1]
bnt code_0246
pushi $c5 ; 197, pRoom
push0
send $4
bnot
bnt code_0246
pTos pRoom
pushi $c5 ; 197, pRoom
push0
lag global[$1]
send $4
bnot
eq?
bnt code_0246
pushi $386 ; 902, hasBase
push1
class BCarryable
push
lap param[$1]
send $6
bnot
bnt code_0246
pushi $2fb ; 763, pCombatGroup
push0
lag global[$1]
send $4
bnot
not
bnt code_0207
pushi $2fb ; 763, pCombatGroup
push0
lap param[$1]
send $4
bnot
not
code_0207: bt code_0239
pushi $2fb ; 763, pCombatGroup
push0
lag global[$1]
send $4
bnot
bnt code_0246
pushi $2fb ; 763, pCombatGroup
push0
lap param[$1]
send $4
bnot
bnt code_0246
pushi $128 ; 296, equalLong
push1
pushi $2fb ; 763, pCombatGroup
push0
lap param[$1]
send $4
bnot
push
pushi $2fb ; 763, pCombatGroup
push0
lag global[$1]
send $4
bnot
send $6
bnot
code_0239: bnt code_0246
pushi $3 ; z
pushi $d ; 13, seenRect
push1
lsp param[$1]
callk kernel_118, $6
bnot
code_0246: ret
WObjectList::delete:
link $1
lag global[$1]
bnt code_026f
pushi $c5 ; 197, pRoom
push0
send $4
bnot
bnt code_026f
pTos pRoom
pushi $c5 ; 197, pRoom
push0
lag global[$1]
send $4
bnot
eq?
bnt code_026f
pushi $3 ; z
pushi $d ; 13, seenRect
push2
lsp param[$1]
callk kernel_118, $6
bnot
code_026f: pushi $58 ; 88, 'X', delete
push1
lsp param[$1]
super List, $6
bnot
ret
RealmRoom::virtualize:
pushi $2bc ; 700, virtualize
push0
&rest $1
super ManagedRoom, $4
bnot
pToa pWObjectList
not
bnt code_029c
pushi $c5 ; 197, pRoom
push1
pushSelf
pushi $8d ; 141, new
push0
class WObjectList
send $4
bnot
aTop pWObjectList
send $6
bnot
code_029c: pToa pRectList
not
bnt code_02ac
pushi $8d ; 141, new
push0
class List
send $4
bnot
aTop pRectList
code_02ac: ret
RealmRoom::init:
pushi $94 ; 148, init
push0
&rest $1
super ManagedRoom, $4
bnot
pToa pShowGameBar
bnt code_02f6
pushi $1bf ; 447, isHidden
push0
lag global[$6]
send $4
bnot
bnt code_02ce
pushi $75 ; 117, 'u', show
push0
lag global[$6]
send $4
bnot
code_02ce: pushi $b5 ; 181, set
pushi $4 ; scaleX
push0
push0
pushi $27f ; 639, rename
pushi $13d ; 317, putArray
pToa plane
send $c
bnot
pushi $dd ; 221, moveBy
push2
push0
pushi $e3 ; 227, expand
pToa plane
send $8
bnot
push1
pTos plane
callk kernel_42, $2
bnot
jmp code_0315
code_02f6: lag global[$cd]
bnt code_0301
pushi $95 ; 149, dispose
push0
send $4
bnot
code_0301: pushi $1bf ; 447, isHidden
push0
lag global[$6]
send $4
bnot
not
bnt code_0315
pushi $69 ; 105, 'i', hide
push0
lag global[$6]
send $4
bnot
code_0315: ret
RealmRoom::dispose:
lag global[$1]
bnt code_032f
pushi $c5 ; 197, pRoom
push0
send $4
bnot
push
selfID
eq?
bnt code_032f
pushi $3c6 ; 966, deleteFromRoom
push0
lag global[$1]
send $4
bnot
code_032f: pushi $95 ; 149, dispose
push0
class gDialogList
send $4
bnot
pToa pWObjectList
bnt code_034c
pushi $a6 ; 166, release
push0
pushi $95 ; 149, dispose
push0
send $8
bnot
ldi $0
aTop pWObjectList
code_034c: pToa pRectList
bnt code_035b
pushi $95 ; 149, dispose
push0
send $4
bnot
ldi $0
aTop pRectList
code_035b: pushi $95 ; 149, dispose
push0
&rest $1
super ManagedRoom, $4
bnot
ret
RealmRoom::delete:
pToa pWObjectList
bnt code_0374
pushi $58 ; 88, 'X', delete
push1
lsp param[$1]
&rest $2
send $6
bnot
code_0374: lsl local[$0]
lap param[$1]
eq?
bnt code_037f
ldi $0
sal local[$0]
code_037f: ret
RealmRoom::hide:
link $1
pToa pWObjectList
bnt code_03b8
pushi $a3 ; 163, contains
push1
lsg global[$1]
send $6
bnot
sat temp[$0]
bnt code_039d
pushi $58 ; 88, 'X', delete
push1
lsg global[$1]
pToa pWObjectList
send $6
bnot
code_039d: pushi $9d ; 157, eachElementDo
push1
pushi $3a5 ; 933, hideContents
pToa pWObjectList
send $6
bnot
lat temp[$0]
bnt code_03b8
pushi $9f ; 159, add
push1
lsg global[$1]
pToa pWObjectList
send $6
bnot
code_03b8: pushi $95 ; 149, dispose
push0
class gDialogList
send $4
bnot
pushi $69 ; 105, 'i', hide
push0
super ManagedRoom, $4
bnot
ret
RealmRoom::doit:
link $1
pushi $45 ; 69, 'E', doit
push0
super ManagedRoom, $4
bnot
pToa pUpdateStates
bnt code_03db
ldi $0
aTop pUpdateStates
code_03db: ret
StaticRealmRoom::init:
pushi $141 ; 321, stop
push0
class MusicMgr
send $4
bnot
pushi $94 ; 148, init
push0
&rest $1
super RealmRoom, $4
bnot
pushi $19a ; 410, setScale
pushi $4 ; scaleX
pushi $64 ; 100, 'd', moveDone
dup
pushi $be ; 190, seconds
push0
self $c
bnot
ret
StaticRealmRoom::show:
pushi $75 ; 117, 'u', show
push0
&rest $1
super RealmRoom, $4
bnot
lag global[$6a]
bnt code_0414
pushi $491 ; 1169, updatePingText
push0
send $4
bnot
code_0414: ret
StaticRealmRoom::dispose:
link $1
pToa modNum
sat temp[$0]
pushi $95 ; 149, dispose
push0
super RealmRoom, $4
bnot
lat temp[$0]
bnt code_0431
pushi $9f ; 159, add
push1
push
lag global[$69]
send $6
bnot
code_0431: ret
StaticRealmRoom::setInfo:
lap param[$1]
aTop modNum
ret
StaticRealmRoom::cue:
ret