359 lines
5.1 KiB
Plaintext
359 lines
5.1 KiB
Plaintext
InfoQueue::cue:
|
|
link $4
|
|
lag global[$3]
|
|
sat temp[$1]
|
|
lag global[$1]
|
|
bnt code_0055
|
|
pushi $c5 ; 197, pRoom
|
|
push0
|
|
send $4
|
|
bnot
|
|
sag global[$3]
|
|
code_0055: lag global[$3]
|
|
bnt code_0062
|
|
push0
|
|
push0
|
|
send $4
|
|
bnot
|
|
sat temp[$2]
|
|
jmp code_0066
|
|
|
|
code_0062: ldi $0
|
|
sat temp[$2]
|
|
code_0066: ldi $0
|
|
sat temp[$3]
|
|
pToa pText
|
|
bnt code_007e
|
|
pushi $58 ; 88, 'X', delete
|
|
push1
|
|
push
|
|
self $6
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
pToa pText
|
|
send $4
|
|
bnot
|
|
code_007e: lat temp[$2]
|
|
bnt code_01a4
|
|
pushi $4b ; 75, 'K', at
|
|
push1
|
|
push0
|
|
self $6
|
|
bnot
|
|
aTop pText
|
|
bnt code_01a4
|
|
lag global[$1]
|
|
bnt code_018b
|
|
pushi $1bf ; 447, isHidden
|
|
push0
|
|
push0
|
|
push0
|
|
lag global[$6]
|
|
send $4
|
|
bnot
|
|
send $4
|
|
bnot
|
|
not
|
|
bnt code_018b
|
|
pushi $5a ; 90, 'Z', size
|
|
push0
|
|
self $4
|
|
bnot
|
|
push
|
|
ldi $f ; 15, loop
|
|
gt?
|
|
bnt code_00b8
|
|
ldi $1
|
|
sat temp[$0]
|
|
jmp code_00e6
|
|
|
|
code_00b8: pushi $5a ; 90, 'Z', size
|
|
push0
|
|
self $4
|
|
bnot
|
|
push
|
|
ldi $a ; 10, inTop
|
|
gt?
|
|
bnt code_00cd
|
|
pTos pDelay
|
|
ldi $3 ; z
|
|
div
|
|
sat temp[$0]
|
|
jmp code_00e6
|
|
|
|
code_00cd: pushi $5a ; 90, 'Z', size
|
|
push0
|
|
self $4
|
|
bnot
|
|
push
|
|
ldi $5 ; scaleY
|
|
gt?
|
|
bnt code_00e2
|
|
pTos pDelay
|
|
ldi $2
|
|
div
|
|
sat temp[$0]
|
|
jmp code_00e6
|
|
|
|
code_00e2: pToa pDelay
|
|
sat temp[$0]
|
|
code_00e6: push1
|
|
pTos pText
|
|
calle export60000_0, $2
|
|
bnot
|
|
bnt code_0138
|
|
pushi $97 ; 151, isKindOf
|
|
push1
|
|
class Str
|
|
push
|
|
pToa pText
|
|
send $6
|
|
bnot
|
|
bnt code_0138
|
|
pushi $25 ; 37, '%', fore
|
|
push1
|
|
pTos pColor
|
|
pushi $94 ; 148, init
|
|
pushi $5 ; scaleY
|
|
pTos pText
|
|
pushi $88 ; 136, right
|
|
push0
|
|
lat temp[$2]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $8a ; 138, bottom
|
|
push0
|
|
lat temp[$2]
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $10 ; 16, cel
|
|
add
|
|
push
|
|
lst temp[$0]
|
|
pushSelf
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class ShadowText
|
|
send $4
|
|
bnot
|
|
sat temp[$3]
|
|
send $14
|
|
bnot
|
|
jmp code_01a4
|
|
|
|
code_0138: pushi $58 ; 88, 'X', delete
|
|
push1
|
|
pTos pText
|
|
self $6
|
|
bnot
|
|
pushi $d0 ; 208, with
|
|
push1
|
|
lofsa string_0032 ; "Bad string in InfoQueue."
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
aTop pText
|
|
pushi $aa ; 170, addToFront
|
|
push1
|
|
pTos pText
|
|
self $6
|
|
bnot
|
|
pushi $94 ; 148, init
|
|
pushi $5 ; scaleY
|
|
pTos pText
|
|
pushi $88 ; 136, right
|
|
push0
|
|
lat temp[$2]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $8a ; 138, bottom
|
|
push0
|
|
lat temp[$2]
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $10 ; 16, cel
|
|
add
|
|
push
|
|
lst temp[$0]
|
|
pushSelf
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class ShadowText
|
|
send $4
|
|
bnot
|
|
sat temp[$3]
|
|
send $e
|
|
bnot
|
|
jmp code_01a4
|
|
|
|
code_018b: ldi $0
|
|
aTop pText
|
|
pushi $104 ; 260, cueSelector
|
|
push1
|
|
pushi $c7 ; 199, cue
|
|
pushi $106 ; 262, setReal
|
|
push2
|
|
pushSelf
|
|
push1
|
|
class GlobalTimer
|
|
send $8
|
|
bnot
|
|
send $6
|
|
bnot
|
|
code_01a4: lat temp[$3]
|
|
bnt code_01e8
|
|
lat temp[$2]
|
|
bnt code_01e8
|
|
pushi $88 ; 136, right
|
|
push0
|
|
lat temp[$3]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $88 ; 136, right
|
|
push0
|
|
lat temp[$2]
|
|
send $4
|
|
bnot
|
|
gt?
|
|
bnt code_01e8
|
|
pushi $dd ; 221, moveBy
|
|
push2
|
|
pushi $88 ; 136, right
|
|
push0
|
|
lat temp[$2]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $88 ; 136, right
|
|
push0
|
|
lat temp[$3]
|
|
send $4
|
|
bnot
|
|
sub
|
|
push
|
|
push0
|
|
lat temp[$3]
|
|
send $8
|
|
bnot
|
|
push1
|
|
lst temp[$3]
|
|
callk kernel_32, $2
|
|
bnot
|
|
code_01e8: lat temp[$1]
|
|
sag global[$3]
|
|
ret
|
|
|
|
InfoQueue::add:
|
|
link $2
|
|
pToa pEnabled
|
|
not
|
|
bnt code_01fe
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lap param[$1]
|
|
send $4
|
|
bnot
|
|
ret
|
|
|
|
code_01fe: push1
|
|
lsp param[$1]
|
|
calle export60000_0, $2
|
|
bnot
|
|
bnt code_0245
|
|
pushi $97 ; 151, isKindOf
|
|
push1
|
|
class Str
|
|
push
|
|
lap param[$1]
|
|
send $6
|
|
bnot
|
|
bnt code_0245
|
|
pushi $9f ; 159, add
|
|
push1
|
|
lsp param[$1]
|
|
super Set, $6
|
|
bnot
|
|
pushi $5a ; 90, 'Z', size
|
|
push0
|
|
self $4
|
|
bnot
|
|
push
|
|
ldi $1
|
|
eq?
|
|
bnt code_026d
|
|
pushi $104 ; 260, cueSelector
|
|
push1
|
|
pushi $c7 ; 199, cue
|
|
pushi $106 ; 262, setReal
|
|
push2
|
|
pushSelf
|
|
push1
|
|
class GlobalTimer
|
|
send $8
|
|
bnot
|
|
send $6
|
|
bnot
|
|
jmp code_026d
|
|
|
|
code_0245: pushi $f5 ; 245, format
|
|
push2
|
|
lofsa string_004b ; "Bad string added to InfoQueue (0x%x)"
|
|
push
|
|
lsp param[$1]
|
|
class Str
|
|
send $8
|
|
bnot
|
|
sat temp[$1]
|
|
pushi $6 ; maxScale
|
|
push
|
|
pushi $74 ; 116, 't', all
|
|
lofsa string_0070 ; "DOH!"
|
|
push
|
|
pushi $77 ; 119, 'w', textTop
|
|
lofsa string_0075 ; "Okay"
|
|
push
|
|
push0
|
|
calle export60029_0, $c
|
|
bnot
|
|
code_026d: ret
|
|
|
|
InfoQueue::clear:
|
|
pToa pText
|
|
bt code_0278
|
|
lap param[$0]
|
|
bnt code_02a3
|
|
lap param[$1]
|
|
code_0278: bnt code_02a3
|
|
pToa pText
|
|
bnt code_0285
|
|
pushi $58 ; 88, 'X', delete
|
|
push1
|
|
push
|
|
self $6
|
|
bnot
|
|
code_0285: pushi $9d ; 157, eachElementDo
|
|
push1
|
|
pushi $95 ; 149, dispose
|
|
self $6
|
|
bnot
|
|
pushi $a6 ; 166, release
|
|
push0
|
|
self $4
|
|
bnot
|
|
pToa pText
|
|
bnt code_02a3
|
|
pushi $9f ; 159, add
|
|
push1
|
|
push
|
|
super Set, $6
|
|
bnot
|
|
code_02a3: ret
|
|
|