243 lines
3.7 KiB
Plaintext
243 lines
3.7 KiB
Plaintext
SetMoneyEditItem::new:
|
|
link $1
|
|
pushi $8d ; 141, new
|
|
push0
|
|
super EditItem, $4
|
|
bnot
|
|
sat temp[$0]
|
|
pushi $23 ; 35, '#', text
|
|
push1
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class Str
|
|
send $4
|
|
bnot
|
|
push
|
|
lat temp[$0]
|
|
send $6
|
|
bnot
|
|
ret
|
|
|
|
SetMoneyEditItem::init:
|
|
pTos state
|
|
ldi $8 ; fixPriority
|
|
or
|
|
aTop state
|
|
pushi $94 ; 148, init
|
|
push0
|
|
&rest $1
|
|
super EditItem, $4
|
|
bnot
|
|
pushi $1be ; 446, setSize
|
|
push1
|
|
pTos right
|
|
self $6
|
|
bnot
|
|
ret
|
|
|
|
SetMoneyEditItem::dispose:
|
|
ldi $0
|
|
aTop text
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
&rest $1
|
|
super EditItem, $4
|
|
bnot
|
|
ret
|
|
|
|
SetMoneyEditItem::validKey:
|
|
link $4
|
|
pushi $132 ; 306, fromStr
|
|
push1
|
|
lsp param[$2]
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class LongInt
|
|
send $4
|
|
bnot
|
|
sat temp[$0]
|
|
send $6
|
|
bnot
|
|
pushi $130 ; 304, greaterEqualLong
|
|
push1
|
|
lst temp[$0]
|
|
pushi $337 ; 823, pValue
|
|
push0
|
|
lag global[$1]
|
|
send $4
|
|
bnot
|
|
send $6
|
|
bnot
|
|
sat temp[$1]
|
|
pushi $12d ; 301, greater
|
|
push1
|
|
push0
|
|
lat temp[$0]
|
|
send $6
|
|
bnot
|
|
sat temp[$2]
|
|
pushi $132 ; 306, fromStr
|
|
push1
|
|
lsp param[$2]
|
|
lat temp[$0]
|
|
send $6
|
|
bnot
|
|
push
|
|
ldi $0
|
|
gt?
|
|
sat temp[$3]
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lat temp[$0]
|
|
send $4
|
|
bnot
|
|
push1
|
|
lsp param[$1]
|
|
calle export60027_3, $2
|
|
bnot
|
|
bnt code_01d7
|
|
lat temp[$2]
|
|
bnt code_01d7
|
|
lat temp[$1]
|
|
bnt code_01d7
|
|
lat temp[$3]
|
|
code_01d7: bt code_0201
|
|
pushi $c ; 12, inBottom
|
|
lsp param[$1]
|
|
pushi $3 ; z
|
|
pushi $4700 ; 18176
|
|
pushi $4b00 ; 19200
|
|
pushi $4d00 ; 19712
|
|
pushi $4f00 ; 20224
|
|
pushi $5200 ; 20992
|
|
pushi $5300 ; 21248
|
|
pushi $d ; 13, seenRect
|
|
pushi $9 ; inLeft
|
|
pushi $f00 ; 3840, BAD SELECTOR
|
|
pushi $8 ; fixPriority
|
|
calle export60025_4, $18
|
|
bnot
|
|
code_0201: ret
|
|
|
|
SetManaEditItem::new:
|
|
link $1
|
|
pushi $8d ; 141, new
|
|
push0
|
|
super EditItem, $4
|
|
bnot
|
|
sat temp[$0]
|
|
pushi $23 ; 35, '#', text
|
|
push1
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class Str
|
|
send $4
|
|
bnot
|
|
push
|
|
lat temp[$0]
|
|
send $6
|
|
bnot
|
|
ret
|
|
|
|
SetManaEditItem::init:
|
|
pTos state
|
|
ldi $8 ; fixPriority
|
|
or
|
|
aTop state
|
|
pushi $94 ; 148, init
|
|
push0
|
|
&rest $1
|
|
super EditItem, $4
|
|
bnot
|
|
pushi $1be ; 446, setSize
|
|
push1
|
|
pTos right
|
|
self $6
|
|
bnot
|
|
ret
|
|
|
|
SetManaEditItem::dispose:
|
|
ldi $0
|
|
aTop text
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
&rest $1
|
|
super EditItem, $4
|
|
bnot
|
|
ret
|
|
|
|
SetManaEditItem::validKey:
|
|
link $4
|
|
pushi $132 ; 306, fromStr
|
|
push1
|
|
lsp param[$2]
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class LongInt
|
|
send $4
|
|
bnot
|
|
sat temp[$0]
|
|
send $6
|
|
bnot
|
|
pushi $130 ; 304, greaterEqualLong
|
|
push1
|
|
lst temp[$0]
|
|
pushi $338 ; 824, pManaValue
|
|
push0
|
|
lag global[$1]
|
|
send $4
|
|
bnot
|
|
send $6
|
|
bnot
|
|
sat temp[$1]
|
|
pushi $12d ; 301, greater
|
|
push1
|
|
push0
|
|
lat temp[$0]
|
|
send $6
|
|
bnot
|
|
sat temp[$2]
|
|
pushi $132 ; 306, fromStr
|
|
push1
|
|
lsp param[$2]
|
|
lat temp[$0]
|
|
send $6
|
|
bnot
|
|
push
|
|
ldi $0
|
|
gt?
|
|
sat temp[$3]
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lat temp[$0]
|
|
send $4
|
|
bnot
|
|
push1
|
|
lsp param[$1]
|
|
calle export60027_3, $2
|
|
bnot
|
|
bnt code_02b1
|
|
lat temp[$2]
|
|
bnt code_02b1
|
|
lat temp[$1]
|
|
bnt code_02b1
|
|
lat temp[$3]
|
|
code_02b1: bt code_02db
|
|
pushi $c ; 12, inBottom
|
|
lsp param[$1]
|
|
pushi $3 ; z
|
|
pushi $4700 ; 18176
|
|
pushi $4b00 ; 19200
|
|
pushi $4d00 ; 19712
|
|
pushi $4f00 ; 20224
|
|
pushi $5200 ; 20992
|
|
pushi $5300 ; 21248
|
|
pushi $d ; 13, seenRect
|
|
pushi $9 ; inLeft
|
|
pushi $f00 ; 3840, BAD SELECTOR
|
|
pushi $8 ; fixPriority
|
|
calle export60025_4, $18
|
|
bnot
|
|
code_02db: ret
|
|
|