2291 lines
34 KiB
Plaintext
2291 lines
34 KiB
Plaintext
export45017_0 = makeCharacter_Page2
|
|
|
|
yesCombat::choose:
|
|
link $2
|
|
pushi $1cb ; 459, choose
|
|
push0
|
|
&rest $1
|
|
super Button, $4
|
|
bnot
|
|
ldi $0
|
|
sat temp[$0]
|
|
pushi $d0 ; 208, with
|
|
push1
|
|
lofsa string_0590 ; "yes"
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$0]
|
|
pushi $3 ; z
|
|
push1
|
|
push2
|
|
pushi $9 ; inLeft
|
|
push
|
|
callk kernel_91, $4
|
|
bnot
|
|
push
|
|
lsg global[$3a]
|
|
callk kernel_70, $6
|
|
bnot
|
|
sat temp[$1]
|
|
pushi $23 ; 35, '#', text
|
|
push1
|
|
lst temp[$0]
|
|
pushi $1be ; 446, setSize
|
|
push1
|
|
push
|
|
pushi $57 ; 87, 'W', draw
|
|
push0
|
|
lal local[$3b]
|
|
send $10
|
|
bnot
|
|
pushi $433 ; 1075, pPeaceful
|
|
push1
|
|
push0
|
|
lag global[$9e]
|
|
send $6
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lat temp[$0]
|
|
send $4
|
|
bnot
|
|
ret
|
|
|
|
noCombat::choose:
|
|
link $2
|
|
pushi $1cb ; 459, choose
|
|
push0
|
|
&rest $1
|
|
super Button, $4
|
|
bnot
|
|
ldi $0
|
|
sat temp[$0]
|
|
pushi $d0 ; 208, with
|
|
push1
|
|
lofsa string_059e ; "no"
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$0]
|
|
pushi $3 ; z
|
|
push1
|
|
push2
|
|
pushi $9 ; inLeft
|
|
push
|
|
callk kernel_91, $4
|
|
bnot
|
|
push
|
|
lsg global[$3a]
|
|
callk kernel_70, $6
|
|
bnot
|
|
sat temp[$1]
|
|
pushi $23 ; 35, '#', text
|
|
push1
|
|
lofsa string_059e ; "no"
|
|
push
|
|
pushi $1be ; 446, setSize
|
|
push1
|
|
lst temp[$1]
|
|
pushi $57 ; 87, 'W', draw
|
|
push0
|
|
lal local[$3b]
|
|
send $10
|
|
bnot
|
|
pushi $433 ; 1075, pPeaceful
|
|
push1
|
|
push1
|
|
lag global[$9e]
|
|
send $6
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lat temp[$0]
|
|
send $4
|
|
bnot
|
|
ret
|
|
|
|
goodAlign::init:
|
|
pushi $94 ; 148, init
|
|
push0
|
|
&rest $1
|
|
super CharButton, $4
|
|
bnot
|
|
ret
|
|
|
|
goodAlign::choose:
|
|
pushi $1cb ; 459, choose
|
|
push0
|
|
&rest $1
|
|
super CharButton, $4
|
|
bnot
|
|
pushi $40a ; 1034, pAlignment
|
|
push1
|
|
pushi $ff ; 255, asInteger
|
|
lag global[$9e]
|
|
send $6
|
|
bnot
|
|
ret
|
|
|
|
neutralAlign::init:
|
|
pushi $94 ; 148, init
|
|
push0
|
|
&rest $1
|
|
super CharButton, $4
|
|
bnot
|
|
ret
|
|
|
|
neutralAlign::choose:
|
|
pushi $1cb ; 459, choose
|
|
push0
|
|
&rest $1
|
|
super CharButton, $4
|
|
bnot
|
|
pushi $40a ; 1034, pAlignment
|
|
push1
|
|
pushi $80 ; 128, lastKey
|
|
lag global[$9e]
|
|
send $6
|
|
bnot
|
|
ret
|
|
|
|
evilAlign::init:
|
|
pushi $94 ; 148, init
|
|
push0
|
|
&rest $1
|
|
super CharButton, $4
|
|
bnot
|
|
ret
|
|
|
|
evilAlign::choose:
|
|
pushi $1cb ; 459, choose
|
|
push0
|
|
&rest $1
|
|
super CharButton, $4
|
|
bnot
|
|
pushi $40a ; 1034, pAlignment
|
|
push1
|
|
push0
|
|
lag global[$9e]
|
|
send $6
|
|
bnot
|
|
ret
|
|
|
|
prevBtn::doit:
|
|
pushi $24e ; 590, handsOff
|
|
push0
|
|
lag global[$2]
|
|
send $4
|
|
bnot
|
|
ldi $afd7 ; -20521
|
|
sag global[$36]
|
|
ret
|
|
|
|
nextBtn::init:
|
|
lag global[$f7]
|
|
bnt code_01a3
|
|
lofsa string_05f3 ; "Save"
|
|
aTop text
|
|
code_01a3: pushi $94 ; 148, init
|
|
push0
|
|
&rest $1
|
|
super CharButton, $4
|
|
bnot
|
|
ret
|
|
|
|
nextBtn::doit:
|
|
link $1
|
|
pushi $8c ; 140, scratch
|
|
push0
|
|
pushi $4b ; 75, 'K', at
|
|
push1
|
|
push0
|
|
lag global[$a0]
|
|
send $6
|
|
bnot
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $0
|
|
gt?
|
|
bnt code_0223
|
|
pushi $f5 ; 245, format
|
|
push2
|
|
lofsa string_05f8 ; "Warning! You still have %d unassigned Attribute Points!\n"
|
|
push
|
|
pushi $8c ; 140, scratch
|
|
push0
|
|
pushi $4b ; 75, 'K', at
|
|
push1
|
|
push0
|
|
lag global[$a0]
|
|
send $6
|
|
bnot
|
|
send $4
|
|
bnot
|
|
push
|
|
class Str
|
|
send $8
|
|
bnot
|
|
sat temp[$0]
|
|
pushi $7 ; priority
|
|
push
|
|
pushi $77 ; 119, 'w', textTop
|
|
lofsa string_063b ; "Yes"
|
|
push
|
|
push1
|
|
pushi $77 ; 119, 'w', textTop
|
|
lofsa string_063f ; "No"
|
|
push
|
|
push0
|
|
calle export60029_0, $e
|
|
bnot
|
|
bnt code_0243
|
|
lag global[$f7]
|
|
bnt code_0213
|
|
pushi $c9 ; 201, setScript
|
|
push1
|
|
lofsa UpdateChar
|
|
push
|
|
lag global[$3]
|
|
send $6
|
|
bnot
|
|
ret
|
|
|
|
code_0213: pushi $24e ; 590, handsOff
|
|
push0
|
|
lag global[$2]
|
|
send $4
|
|
bnot
|
|
ldi $afda ; -20518
|
|
sag global[$36]
|
|
jmp code_0243
|
|
|
|
code_0223: lag global[$f7]
|
|
bnt code_0235
|
|
pushi $c9 ; 201, setScript
|
|
push1
|
|
lofsa UpdateChar
|
|
push
|
|
lag global[$3]
|
|
send $6
|
|
bnot
|
|
ret
|
|
|
|
code_0235: pushi $24e ; 590, handsOff
|
|
push0
|
|
lag global[$2]
|
|
send $4
|
|
bnot
|
|
ldi $afda ; -20518
|
|
sag global[$36]
|
|
code_0243: lal local[$3c]
|
|
bnt code_026d
|
|
pushi $5dc ; 1500, pDelta
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $8 ; fixPriority
|
|
gt?
|
|
bnt code_026d
|
|
pushi $3fc ; 1020, pStrength
|
|
push1
|
|
push1
|
|
pushi $3fe ; 1022, pIntelligence
|
|
push1
|
|
push1
|
|
pushi $3fd ; 1021, pDexterity
|
|
push1
|
|
push1
|
|
pushi $400 ; 1024, pEndurance
|
|
push1
|
|
push1
|
|
lag global[$9e]
|
|
send $18
|
|
bnot
|
|
code_026d: ret
|
|
|
|
UpdateChar::handleError:
|
|
push1
|
|
lofsa string_064a ; "Unable to update character!"
|
|
push
|
|
callk kernel_132, $2
|
|
bnot
|
|
ret
|
|
|
|
UpdateChar::changeState:
|
|
lap param[$1]
|
|
aTop state
|
|
push
|
|
dup
|
|
ldi $0
|
|
eq?
|
|
bnt code_029d
|
|
pushi $24e ; 590, handsOff
|
|
push0
|
|
lag global[$2]
|
|
send $4
|
|
bnot
|
|
pushi $5a8 ; 1448, setHeadData
|
|
pushi $3 ; z
|
|
lsg global[$9e]
|
|
dup
|
|
pushSelf
|
|
lag global[$6a]
|
|
send $a
|
|
bnot
|
|
jmp code_02e4
|
|
|
|
code_029d: dup
|
|
ldi $1
|
|
eq?
|
|
bnt code_02b1
|
|
pushi $5ba ; 1466, updateCharacter
|
|
push2
|
|
lsg global[$9e]
|
|
pushSelf
|
|
lag global[$6a]
|
|
send $8
|
|
bnot
|
|
jmp code_02e4
|
|
|
|
code_02b1: dup
|
|
ldi $2
|
|
eq?
|
|
bnt code_02d9
|
|
pushi $58 ; 88, 'X', delete
|
|
push1
|
|
lsg global[$9e]
|
|
lag global[$6a]
|
|
send $6
|
|
bnot
|
|
pushi $a6 ; 166, release
|
|
push0
|
|
class StockCharacters
|
|
send $4
|
|
bnot
|
|
pushi $5a4 ; 1444, queryCharacters
|
|
push2
|
|
class StockCharacters
|
|
push
|
|
pushSelf
|
|
lag global[$6a]
|
|
send $8
|
|
bnot
|
|
jmp code_02e4
|
|
|
|
code_02d9: dup
|
|
ldi $3 ; z
|
|
eq?
|
|
bnt code_02e4
|
|
ldi $afd6 ; -20522
|
|
sag global[$36]
|
|
code_02e4: toss
|
|
ret
|
|
|
|
mainBtn::init:
|
|
pushi $94 ; 148, init
|
|
push0
|
|
&rest $1
|
|
super CharButton, $4
|
|
bnot
|
|
lag global[$f7]
|
|
bnt code_02fd
|
|
pushi $1b4 ; 436, enable
|
|
push1
|
|
push0
|
|
self $6
|
|
bnot
|
|
code_02fd: ret
|
|
|
|
mainBtn::doit:
|
|
pushi $7 ; priority
|
|
lofsa string_0676 ; "Warning! Your character will not be saved!\n"
|
|
push
|
|
pushi $77 ; 119, 'w', textTop
|
|
lofsa string_063b ; "Yes"
|
|
push
|
|
push1
|
|
pushi $77 ; 119, 'w', textTop
|
|
lofsa string_063f ; "No"
|
|
push
|
|
push0
|
|
calle export60029_0, $e
|
|
bnot
|
|
bnt code_0342
|
|
pushi $24e ; 590, handsOff
|
|
push0
|
|
lag global[$2]
|
|
send $4
|
|
bnot
|
|
push1
|
|
lsg global[$a0]
|
|
calle export60000_0, $2
|
|
bnot
|
|
bnt code_033d
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lag global[$a0]
|
|
send $4
|
|
bnot
|
|
ldi $0
|
|
sag global[$a0]
|
|
code_033d: ldi $afd6 ; -20522
|
|
sag global[$36]
|
|
code_0342: ret
|
|
|
|
makeCharacter_Page2::init:
|
|
link $1c
|
|
pushi $94 ; 148, init
|
|
push0
|
|
&rest $1
|
|
super StaticRealmRoom, $4
|
|
bnot
|
|
ldi $0
|
|
sag global[$d3]
|
|
pushi $2f4 ; 756, pConnected
|
|
push0
|
|
lag global[$6a]
|
|
send $4
|
|
bnot
|
|
not
|
|
bnt code_0371
|
|
lag global[$9e]
|
|
not
|
|
bnt code_0371
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class fNBody
|
|
send $4
|
|
bnot
|
|
sag global[$9e]
|
|
code_0371: pushi $e ; 14, view
|
|
push1
|
|
pushi $232e ; 9006
|
|
pushi $f ; 15, loop
|
|
push1
|
|
push0
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class View
|
|
send $4
|
|
bnot
|
|
sat temp[$6]
|
|
send $10
|
|
bnot
|
|
push2
|
|
lst temp[$6]
|
|
pushi $14 ; 20, nsRight
|
|
calle export45011_0, $4
|
|
bnot
|
|
pushi $e ; 14, view
|
|
push1
|
|
pushi $2331 ; 9009
|
|
pushi $f ; 15, loop
|
|
push1
|
|
push2
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class View
|
|
send $4
|
|
bnot
|
|
sat temp[$6]
|
|
send $10
|
|
bnot
|
|
push2
|
|
lst temp[$6]
|
|
pushi $50 ; 80, 'P', claimed
|
|
calle export45011_0, $4
|
|
bnot
|
|
pushi $e ; 14, view
|
|
push1
|
|
pushi $2331 ; 9009
|
|
pushi $f ; 15, loop
|
|
push1
|
|
pushi $3 ; z
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class View
|
|
send $4
|
|
bnot
|
|
sal local[$3a]
|
|
send $10
|
|
bnot
|
|
push2
|
|
lsl local[$3a]
|
|
pushi $17c ; 380, isNotHidden
|
|
calle export45011_0, $4
|
|
bnot
|
|
pushi $35c ; 860, getBase
|
|
push1
|
|
class BCharacter
|
|
push
|
|
lag global[$9e]
|
|
send $6
|
|
bnot
|
|
sat temp[$0]
|
|
pushi $4c5 ; 1221, pProfession
|
|
push0
|
|
send $4
|
|
bnot
|
|
sat temp[$8]
|
|
pushi $30b ; 779, pRace
|
|
push0
|
|
lat temp[$0]
|
|
send $4
|
|
bnot
|
|
push
|
|
dup
|
|
ldi $0
|
|
eq?
|
|
bnt code_0418
|
|
ldi $0
|
|
sat temp[$1]
|
|
jmp code_043a
|
|
|
|
code_0418: dup
|
|
ldi $1
|
|
eq?
|
|
bnt code_0424
|
|
ldi $1
|
|
sat temp[$1]
|
|
jmp code_043a
|
|
|
|
code_0424: dup
|
|
ldi $3 ; z
|
|
eq?
|
|
bnt code_0430
|
|
ldi $2
|
|
sat temp[$1]
|
|
jmp code_043a
|
|
|
|
code_0430: dup
|
|
ldi $2
|
|
eq?
|
|
bnt code_043a
|
|
ldi $3 ; z
|
|
sat temp[$1]
|
|
code_043a: toss
|
|
ldi $3 ; z
|
|
sat temp[$16]
|
|
pushi $3 ; z
|
|
pushi $2332 ; 9010
|
|
push0
|
|
push0
|
|
callk kernel_28, $6
|
|
bnot
|
|
sat temp[$17]
|
|
pushi $27f ; 639, rename
|
|
push
|
|
lat temp[$16]
|
|
mul
|
|
sub
|
|
push
|
|
lst temp[$16]
|
|
ldi $1
|
|
add
|
|
div
|
|
sat temp[$15]
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class Str
|
|
send $4
|
|
bnot
|
|
sat temp[$4]
|
|
pushi $7 ; priority
|
|
push0
|
|
pushi $afc8 ; -20536
|
|
push2
|
|
pushi $6 ; maxScale
|
|
push0
|
|
push1
|
|
pushi $71 ; 113, 'q', data
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_72, $e
|
|
bnot
|
|
pushi $1c8 ; 456, helpStr
|
|
push1
|
|
lst temp[$4]
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
lst temp[$15]
|
|
pushi $1b0 ; 432, prevDir
|
|
lofsa prevBtn
|
|
send $12
|
|
bnot
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class Str
|
|
send $4
|
|
bnot
|
|
sat temp[$4]
|
|
pushi $7 ; priority
|
|
push0
|
|
pushi $afc8 ; -20536
|
|
pushi $6 ; maxScale
|
|
dup
|
|
push0
|
|
push1
|
|
pushi $71 ; 113, 'q', data
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_72, $e
|
|
bnot
|
|
pushi $1c8 ; 456, helpStr
|
|
push1
|
|
lst temp[$4]
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
lst temp[$15]
|
|
ldi $2
|
|
mul
|
|
push
|
|
lat temp[$17]
|
|
add
|
|
push
|
|
pushi $1b0 ; 432, prevDir
|
|
lofsa nextBtn
|
|
send $12
|
|
bnot
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class Str
|
|
send $4
|
|
bnot
|
|
sat temp[$4]
|
|
pushi $7 ; priority
|
|
push0
|
|
pushi $afc8 ; -20536
|
|
pushi $7 ; priority
|
|
pushi $6 ; maxScale
|
|
push0
|
|
push1
|
|
pushi $71 ; 113, 'q', data
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_72, $e
|
|
bnot
|
|
pushi $1c8 ; 456, helpStr
|
|
push1
|
|
lst temp[$4]
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
lst temp[$15]
|
|
ldi $3 ; z
|
|
mul
|
|
push
|
|
lst temp[$17]
|
|
ldi $2
|
|
mul
|
|
add
|
|
push
|
|
pushi $1b0 ; 432, prevDir
|
|
lofsa mainBtn
|
|
send $12
|
|
bnot
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class Str
|
|
send $4
|
|
bnot
|
|
sat temp[$4]
|
|
pushi $7 ; priority
|
|
push0
|
|
pushi $afd9 ; -20519
|
|
pushi $9 ; inLeft
|
|
pushi $6 ; maxScale
|
|
push0
|
|
push1
|
|
pushi $71 ; 113, 'q', data
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_72, $e
|
|
bnot
|
|
pushi $1fa ; 506, makeRadioBtn
|
|
push1
|
|
lofsa attribList
|
|
push
|
|
pushi $25 ; 37, '%', fore
|
|
push1
|
|
lsg global[$54]
|
|
pushi $2a ; 42, '*', font
|
|
push1
|
|
pushi $14 ; 20, nsRight
|
|
pushi $23 ; 35, '#', text
|
|
push1
|
|
lofsa string_06fe ; "Alignment"
|
|
push
|
|
pushi $1c8 ; 456, helpStr
|
|
push1
|
|
lst temp[$4]
|
|
pushi $5d0 ; 1488, pHelpX
|
|
push1
|
|
pushi $119 ; 281, bitOR
|
|
pushi $5d1 ; 1489, pHelpY
|
|
push1
|
|
pushi $118 ; 280, bitANDLong
|
|
pushi $5d2 ; 1490, pHelpW
|
|
push1
|
|
pushi $50 ; 80, 'P', claimed
|
|
pushi $5d3 ; 1491, pHelpH
|
|
push1
|
|
pushi $16 ; 22, lsLeft
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $119 ; 281, bitOR
|
|
pushi $118 ; 280, bitANDLong
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class TextButton
|
|
send $4
|
|
bnot
|
|
sat temp[$7]
|
|
send $42
|
|
bnot
|
|
lst temp[$8]
|
|
ldi $2
|
|
eq?
|
|
bnt code_05c2
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class Str
|
|
send $4
|
|
bnot
|
|
sat temp[$4]
|
|
pushi $7 ; priority
|
|
push0
|
|
pushi $afd9 ; -20519
|
|
pushi $a ; 10, inTop
|
|
pushi $6 ; maxScale
|
|
push0
|
|
push1
|
|
pushi $71 ; 113, 'q', data
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_72, $e
|
|
bnot
|
|
jmp code_05e4
|
|
|
|
code_05c2: pushi $8d ; 141, new
|
|
push0
|
|
class Str
|
|
send $4
|
|
bnot
|
|
sat temp[$4]
|
|
pushi $7 ; priority
|
|
push0
|
|
pushi $afd9 ; -20519
|
|
pushi $f ; 15, loop
|
|
pushi $6 ; maxScale
|
|
push0
|
|
push1
|
|
pushi $71 ; 113, 'q', data
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_72, $e
|
|
bnot
|
|
code_05e4: pushi $1fa ; 506, makeRadioBtn
|
|
push1
|
|
lofsa alignList
|
|
push
|
|
pushi $1c8 ; 456, helpStr
|
|
push1
|
|
lst temp[$4]
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $96 ; 150, isClass
|
|
pushi $136 ; 310, getLong
|
|
lofsa goodAlign
|
|
send $18
|
|
bnot
|
|
lst temp[$8]
|
|
ldi $2
|
|
eq?
|
|
bnt code_0631
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class Str
|
|
send $4
|
|
bnot
|
|
sat temp[$4]
|
|
pushi $7 ; priority
|
|
push0
|
|
pushi $afd9 ; -20519
|
|
pushi $b ; 11, inRight
|
|
pushi $6 ; maxScale
|
|
push0
|
|
push1
|
|
pushi $71 ; 113, 'q', data
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_72, $e
|
|
bnot
|
|
jmp code_0653
|
|
|
|
code_0631: pushi $8d ; 141, new
|
|
push0
|
|
class Str
|
|
send $4
|
|
bnot
|
|
sat temp[$4]
|
|
pushi $7 ; priority
|
|
push0
|
|
pushi $afd9 ; -20519
|
|
pushi $e ; 14, view
|
|
pushi $6 ; maxScale
|
|
push0
|
|
push1
|
|
pushi $71 ; 113, 'q', data
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_72, $e
|
|
bnot
|
|
code_0653: pushi $1fa ; 506, makeRadioBtn
|
|
push1
|
|
lofsa alignList
|
|
push
|
|
pushi $1c8 ; 456, helpStr
|
|
push1
|
|
lst temp[$4]
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $10a ; 266, push
|
|
pushi $136 ; 310, getLong
|
|
lofsa neutralAlign
|
|
send $18
|
|
bnot
|
|
lst temp[$8]
|
|
ldi $2
|
|
eq?
|
|
bnt code_06a0
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class Str
|
|
send $4
|
|
bnot
|
|
sat temp[$4]
|
|
pushi $7 ; priority
|
|
push0
|
|
pushi $afd9 ; -20519
|
|
pushi $c ; 12, inBottom
|
|
pushi $6 ; maxScale
|
|
push0
|
|
push1
|
|
pushi $71 ; 113, 'q', data
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_72, $e
|
|
bnot
|
|
jmp code_06c2
|
|
|
|
code_06a0: pushi $8d ; 141, new
|
|
push0
|
|
class Str
|
|
send $4
|
|
bnot
|
|
sat temp[$4]
|
|
pushi $7 ; priority
|
|
push0
|
|
pushi $afd9 ; -20519
|
|
pushi $d ; 13, seenRect
|
|
pushi $6 ; maxScale
|
|
push0
|
|
push1
|
|
pushi $71 ; 113, 'q', data
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_72, $e
|
|
bnot
|
|
code_06c2: pushi $1fa ; 506, makeRadioBtn
|
|
push1
|
|
lofsa alignList
|
|
push
|
|
pushi $1c8 ; 456, helpStr
|
|
push1
|
|
lst temp[$4]
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $180 ; 384, modNum
|
|
pushi $136 ; 310, getLong
|
|
lofsa evilAlign
|
|
send $18
|
|
bnot
|
|
push1
|
|
lsg global[$a0]
|
|
calle export60000_0, $2
|
|
bnot
|
|
not
|
|
bnt code_072f
|
|
pushi $4b ; 75, 'K', at
|
|
push2
|
|
push0
|
|
push0
|
|
call code_0fa6, $0
|
|
bnot
|
|
push
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class IntArray
|
|
send $4
|
|
bnot
|
|
sag global[$a0]
|
|
send $8
|
|
bnot
|
|
pushi $3fc ; 1020, pStrength
|
|
push1
|
|
push0
|
|
pushi $3fd ; 1021, pDexterity
|
|
push1
|
|
push0
|
|
pushi $3fe ; 1022, pIntelligence
|
|
push1
|
|
push0
|
|
pushi $400 ; 1024, pEndurance
|
|
push1
|
|
push0
|
|
pushi $433 ; 1075, pPeaceful
|
|
push1
|
|
push1
|
|
pushi $40a ; 1034, pAlignment
|
|
push1
|
|
pushi $80 ; 128, lastKey
|
|
lag global[$9e]
|
|
send $24
|
|
bnot
|
|
code_072f: pushi $4b ; 75, 'K', at
|
|
push1
|
|
push0
|
|
lag global[$a0]
|
|
send $6
|
|
bnot
|
|
sal local[$3c]
|
|
pushi $40a ; 1034, pAlignment
|
|
push0
|
|
lag global[$9e]
|
|
send $4
|
|
bnot
|
|
push
|
|
dup
|
|
ldi $0
|
|
eq?
|
|
bnt code_0756
|
|
pushi $1cb ; 459, choose
|
|
push0
|
|
lofsa evilAlign
|
|
send $4
|
|
bnot
|
|
jmp code_077a
|
|
|
|
code_0756: dup
|
|
ldi $80 ; 128, lastKey
|
|
eq?
|
|
bnt code_0769
|
|
pushi $1cb ; 459, choose
|
|
push0
|
|
lofsa neutralAlign
|
|
send $4
|
|
bnot
|
|
jmp code_077a
|
|
|
|
code_0769: dup
|
|
ldi $ff ; 255, asInteger
|
|
eq?
|
|
bnt code_077a
|
|
pushi $1cb ; 459, choose
|
|
push0
|
|
lofsa goodAlign
|
|
send $4
|
|
bnot
|
|
code_077a: toss
|
|
pushi $e ; 14, view
|
|
push1
|
|
pushi $238e ; 9102
|
|
pushi $f ; 15, loop
|
|
push1
|
|
pushi $3 ; z
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $148 ; 328, divisions
|
|
pushi $6e ; 110, 'n', resX
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class View
|
|
send $4
|
|
bnot
|
|
sat temp[$9]
|
|
send $18
|
|
bnot
|
|
pushi $d0 ; 208, with
|
|
push1
|
|
lofsa string_0708 ; "Attribute Points"
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$4]
|
|
pushi $3 ; z
|
|
push1
|
|
push2
|
|
pushi $9 ; inLeft
|
|
push
|
|
callk kernel_91, $4
|
|
bnot
|
|
push
|
|
pushi $14 ; 20, nsRight
|
|
callk kernel_70, $6
|
|
bnot
|
|
sat temp[$19]
|
|
pushi $25 ; 37, '%', fore
|
|
push1
|
|
pushi $1a ; 26, signal
|
|
pushi $23 ; 35, '#', text
|
|
push1
|
|
lst temp[$4]
|
|
pushi $2a ; 42, '*', font
|
|
push1
|
|
pushi $14 ; 20, nsRight
|
|
pushi $1be ; 446, setSize
|
|
push1
|
|
push
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
push1
|
|
push0
|
|
lat temp[$9]
|
|
send $4
|
|
bnot
|
|
push
|
|
lst temp[$19]
|
|
ldi $a ; 10, inTop
|
|
add
|
|
sub
|
|
push
|
|
pushi $75 ; 117, 'u', show
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class TextItem
|
|
send $4
|
|
bnot
|
|
sat temp[$18]
|
|
send $24
|
|
bnot
|
|
pushi $25 ; 37, '%', fore
|
|
push1
|
|
lsg global[$5c]
|
|
ldi $2
|
|
add
|
|
push
|
|
pushi $8c ; 140, scratch
|
|
push1
|
|
lofsa string_0719 ; "%3d"
|
|
push
|
|
pushi $23 ; 35, '#', text
|
|
push1
|
|
pushi $f5 ; 245, format
|
|
push2
|
|
lofsa string_0719 ; "%3d"
|
|
push
|
|
pushi $8c ; 140, scratch
|
|
push0
|
|
pushi $4b ; 75, 'K', at
|
|
push1
|
|
push0
|
|
lag global[$a0]
|
|
send $6
|
|
bnot
|
|
send $4
|
|
bnot
|
|
push
|
|
class Str
|
|
send $8
|
|
bnot
|
|
push
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $157 ; 343, setTarget
|
|
pushi $78 ; 120, 'x', textRight
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class TextItem
|
|
send $4
|
|
bnot
|
|
sat temp[$a]
|
|
send $1e
|
|
bnot
|
|
ldi $19 ; 25, lsBottom
|
|
sat temp[$3]
|
|
pushi $e ; 14, view
|
|
push1
|
|
pushi $238e ; 9102
|
|
pushi $4a2 ; 1186, pPoints
|
|
push1
|
|
pushi $4b ; 75, 'K', at
|
|
push1
|
|
push0
|
|
lag global[$a0]
|
|
send $6
|
|
bnot
|
|
push
|
|
pushi $5d8 ; 1496, pPointSelector
|
|
push1
|
|
pushi $8c ; 140, scratch
|
|
class IncDecButton
|
|
send $12
|
|
bnot
|
|
ldi $0
|
|
sat temp[$11]
|
|
ldi $0
|
|
sat temp[$13]
|
|
ldi $0
|
|
sat temp[$5]
|
|
code_087e: lst temp[$5]
|
|
ldi $7 ; priority
|
|
lt?
|
|
bnt code_0c31
|
|
ldi $0
|
|
sat temp[$1b]
|
|
lst temp[$5]
|
|
dup
|
|
ldi $0
|
|
eq?
|
|
bnt code_08a9
|
|
pushi $d0 ; 208, with
|
|
push1
|
|
lofsa string_071d ; "Strength"
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$b]
|
|
ldi $3fc ; 1020, pStrength
|
|
sat temp[$14]
|
|
jmp code_094e
|
|
|
|
code_08a9: dup
|
|
ldi $1
|
|
eq?
|
|
bnt code_08c6
|
|
pushi $d0 ; 208, with
|
|
push1
|
|
lofsa string_0726 ; "Dexterity"
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$b]
|
|
ldi $3fd ; 1021, pDexterity
|
|
sat temp[$14]
|
|
jmp code_094e
|
|
|
|
code_08c6: dup
|
|
ldi $2
|
|
eq?
|
|
bnt code_08e3
|
|
pushi $d0 ; 208, with
|
|
push1
|
|
lofsa string_0730 ; "Intelligence"
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$b]
|
|
ldi $3fe ; 1022, pIntelligence
|
|
sat temp[$14]
|
|
jmp code_094e
|
|
|
|
code_08e3: dup
|
|
ldi $3 ; z
|
|
eq?
|
|
bnt code_08fe
|
|
pushi $d0 ; 208, with
|
|
push1
|
|
lofsa string_073d ; "Quickness"
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$b]
|
|
ldi $1
|
|
sat temp[$1b]
|
|
jmp code_094e
|
|
|
|
code_08fe: dup
|
|
ldi $4 ; scaleX
|
|
eq?
|
|
bnt code_091a
|
|
pushi $d0 ; 208, with
|
|
push1
|
|
lofsa string_0747 ; "Endurance"
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$b]
|
|
ldi $400 ; 1024, pEndurance
|
|
sat temp[$14]
|
|
jmp code_094e
|
|
|
|
code_091a: dup
|
|
ldi $5 ; scaleY
|
|
eq?
|
|
bnt code_0935
|
|
pushi $d0 ; 208, with
|
|
push1
|
|
lofsa string_0751 ; "Poison Resistance"
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$b]
|
|
ldi $1
|
|
sat temp[$1b]
|
|
jmp code_094e
|
|
|
|
code_0935: dup
|
|
ldi $6 ; maxScale
|
|
eq?
|
|
bnt code_094e
|
|
pushi $d0 ; 208, with
|
|
push1
|
|
lofsa string_0763 ; "Magic Resistance"
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$b]
|
|
ldi $1
|
|
sat temp[$1b]
|
|
code_094e: toss
|
|
lst temp[$1b]
|
|
ldi $0
|
|
eq?
|
|
bnt code_0c2c
|
|
lst temp[$5]
|
|
ldi $4 ; scaleX
|
|
eq?
|
|
bnt code_0967
|
|
ldi $0
|
|
sat temp[$11]
|
|
ldi $fa ; 250, lower
|
|
sat temp[$13]
|
|
code_0967: pushi $3 ; z
|
|
pushi $238e ; 9102
|
|
pushi $3 ; z
|
|
push0
|
|
callk kernel_29, $6
|
|
bnot
|
|
push
|
|
+at temp[$11]
|
|
mul
|
|
push
|
|
ldi $8f ; 143, putIndex
|
|
add
|
|
sat temp[$10]
|
|
pushi $e ; 14, view
|
|
push1
|
|
pushi $238e ; 9102
|
|
pushi $f ; 15, loop
|
|
push1
|
|
pushi $3 ; z
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $df ; 223, centerOn
|
|
lat temp[$13]
|
|
add
|
|
push
|
|
ldi $14 ; 20, nsRight
|
|
sub
|
|
push
|
|
lst temp[$10]
|
|
ldi $8 ; fixPriority
|
|
sub
|
|
push
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class View
|
|
send $4
|
|
bnot
|
|
sat temp[$c]
|
|
send $18
|
|
bnot
|
|
pushi $e ; 14, view
|
|
push1
|
|
pushi $238e ; 9102
|
|
pushi $f ; 15, loop
|
|
push1
|
|
pushi $4 ; scaleX
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
push1
|
|
push0
|
|
lat temp[$c]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $3 ; z
|
|
pushi $e ; 14, view
|
|
push0
|
|
lat temp[$c]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $f ; 15, loop
|
|
push0
|
|
lat temp[$c]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $10 ; 16, cel
|
|
push0
|
|
lat temp[$c]
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_28, $6
|
|
bnot
|
|
add
|
|
push
|
|
lst temp[$10]
|
|
ldi $8 ; fixPriority
|
|
sub
|
|
push
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class View
|
|
send $4
|
|
bnot
|
|
sat temp[$d]
|
|
send $18
|
|
bnot
|
|
pushi $25 ; 37, '%', fore
|
|
push1
|
|
lsg global[$54]
|
|
pushi $2a ; 42, '*', font
|
|
push1
|
|
pushi $14 ; 20, nsRight
|
|
pushi $23 ; 35, '#', text
|
|
push1
|
|
lst temp[$b]
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
lst temp[$13]
|
|
ldi $0
|
|
eq?
|
|
bnt code_0a2d
|
|
push1
|
|
push0
|
|
lat temp[$c]
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $64 ; 100, 'd', moveDone
|
|
sub
|
|
jmp code_0a39
|
|
|
|
code_0a2d: push1
|
|
push0
|
|
lat temp[$c]
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $96 ; 150, isClass
|
|
sub
|
|
code_0a39: push
|
|
lst temp[$10]
|
|
ldi $2
|
|
sub
|
|
push
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class TextItem
|
|
send $4
|
|
bnot
|
|
sat temp[$7]
|
|
send $1e
|
|
bnot
|
|
pushi $4b ; 75, 'K', at
|
|
push2
|
|
lst temp[$5]
|
|
ldi $1
|
|
add
|
|
push
|
|
pushi $3 ; z
|
|
lst temp[$5]
|
|
lst temp[$8]
|
|
lst temp[$1]
|
|
call code_0f7e, $6
|
|
bnot
|
|
push
|
|
lag global[$a0]
|
|
send $8
|
|
bnot
|
|
lst temp[$14]
|
|
push0
|
|
lag global[$9e]
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $0
|
|
eq?
|
|
bnt code_0a8f
|
|
lst temp[$14]
|
|
push1
|
|
pushi $4b ; 75, 'K', at
|
|
push1
|
|
lst temp[$5]
|
|
ldi $1
|
|
add
|
|
push
|
|
lag global[$a0]
|
|
send $6
|
|
bnot
|
|
push
|
|
lag global[$9e]
|
|
send $6
|
|
bnot
|
|
code_0a8f: pushi $4b ; 75, 'K', at
|
|
push1
|
|
lst temp[$5]
|
|
ldi $1
|
|
add
|
|
push
|
|
lag global[$a0]
|
|
send $6
|
|
bnot
|
|
sat temp[$2]
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class Str
|
|
send $4
|
|
bnot
|
|
sat temp[$4]
|
|
pushi $7 ; priority
|
|
push0
|
|
pushi $afd9 ; -20519
|
|
lst temp[$5]
|
|
ldi $1
|
|
add
|
|
push
|
|
pushi $6 ; maxScale
|
|
push0
|
|
push1
|
|
pushi $71 ; 113, 'q', data
|
|
push0
|
|
lat temp[$4]
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_72, $e
|
|
bnot
|
|
pushi $1fa ; 506, makeRadioBtn
|
|
push1
|
|
lofsa attribList
|
|
push
|
|
pushi $25 ; 37, '%', fore
|
|
push1
|
|
lsg global[$5c]
|
|
ldi $2
|
|
add
|
|
push
|
|
pushi $8c ; 140, scratch
|
|
push1
|
|
lofsa string_0719 ; "%3d"
|
|
push
|
|
pushi $23 ; 35, '#', text
|
|
push1
|
|
pushi $f5 ; 245, format
|
|
push2
|
|
lofsa string_0719 ; "%3d"
|
|
push
|
|
lst temp[$14]
|
|
push0
|
|
lag global[$9e]
|
|
send $4
|
|
bnot
|
|
push
|
|
class Str
|
|
send $8
|
|
bnot
|
|
push
|
|
pushi $1c8 ; 456, helpStr
|
|
push1
|
|
lst temp[$4]
|
|
pushi $5d0 ; 1488, pHelpX
|
|
push1
|
|
pushi $32 ; 50, '2', edit
|
|
lat temp[$13]
|
|
add
|
|
push
|
|
pushi $5d1 ; 1489, pHelpY
|
|
push1
|
|
push2
|
|
push0
|
|
lat temp[$7]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $5d2 ; 1490, pHelpW
|
|
push1
|
|
pushi $b4 ; 180, end
|
|
pushi $5d3 ; 1491, pHelpH
|
|
push1
|
|
pushi $18 ; 24, lsRight
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $df ; 223, centerOn
|
|
lat temp[$13]
|
|
add
|
|
push
|
|
ldi $5 ; scaleY
|
|
sub
|
|
push
|
|
lst temp[$10]
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class TextButton
|
|
send $4
|
|
bnot
|
|
sat temp[$12]
|
|
send $42
|
|
bnot
|
|
lst temp[$5]
|
|
ldi $4 ; scaleX
|
|
gt?
|
|
bnt code_0bac
|
|
pushi $e ; 14, view
|
|
push1
|
|
pushi $238e ; 9102
|
|
pushi $f ; 15, loop
|
|
push1
|
|
push2
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $fe ; 254, strIndex
|
|
lat temp[$13]
|
|
add
|
|
push
|
|
lst temp[$10]
|
|
ldi $3 ; z
|
|
sub
|
|
push
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class Button
|
|
send $4
|
|
bnot
|
|
sat temp[$e]
|
|
send $18
|
|
bnot
|
|
pushi $e ; 14, view
|
|
push1
|
|
pushi $238e ; 9102
|
|
pushi $f ; 15, loop
|
|
push1
|
|
push2
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $fe ; 254, strIndex
|
|
lat temp[$13]
|
|
add
|
|
push
|
|
lst temp[$10]
|
|
ldi $6 ; maxScale
|
|
add
|
|
push
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class Button
|
|
send $4
|
|
bnot
|
|
sat temp[$f]
|
|
send $18
|
|
bnot
|
|
jmp code_0c1b
|
|
|
|
code_0bac: pushi $f ; 15, loop
|
|
push1
|
|
push0
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $fe ; 254, strIndex
|
|
lat temp[$13]
|
|
add
|
|
push
|
|
lst temp[$10]
|
|
ldi $3 ; z
|
|
sub
|
|
push
|
|
pushi $8d ; 141, new
|
|
pushi $7 ; priority
|
|
lsg global[$9e]
|
|
lst temp[$14]
|
|
push1
|
|
lst temp[$12]
|
|
lst temp[$2]
|
|
lst temp[$3]
|
|
lst temp[$a]
|
|
class IncDecButton
|
|
send $12
|
|
bnot
|
|
sat temp[$e]
|
|
send $12
|
|
bnot
|
|
pushi $f ; 15, loop
|
|
push1
|
|
push1
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $fe ; 254, strIndex
|
|
lat temp[$13]
|
|
add
|
|
push
|
|
lst temp[$10]
|
|
ldi $6 ; maxScale
|
|
add
|
|
push
|
|
pushi $8d ; 141, new
|
|
pushi $7 ; priority
|
|
lsg global[$9e]
|
|
lst temp[$14]
|
|
pushi $ff ; 255, asInteger
|
|
lst temp[$12]
|
|
lst temp[$2]
|
|
lst temp[$3]
|
|
lst temp[$a]
|
|
class IncDecButton
|
|
send $12
|
|
bnot
|
|
sat temp[$f]
|
|
send $12
|
|
bnot
|
|
code_0c1b: pushi $5cc ; 1484, pLeftButton
|
|
push1
|
|
lst temp[$e]
|
|
pushi $5cd ; 1485, pRightButton
|
|
push1
|
|
lst temp[$f]
|
|
lat temp[$12]
|
|
send $c
|
|
bnot
|
|
code_0c2c: +at temp[$5]
|
|
jmp code_087e
|
|
|
|
code_0c31: pushi $3 ; z
|
|
pushi $238e ; 9102
|
|
pushi $3 ; z
|
|
push0
|
|
callk kernel_29, $6
|
|
bnot
|
|
push
|
|
+at temp[$11]
|
|
mul
|
|
push
|
|
ldi $8f ; 143, putIndex
|
|
add
|
|
sat temp[$10]
|
|
pushi $e ; 14, view
|
|
push1
|
|
pushi $238e ; 9102
|
|
pushi $f ; 15, loop
|
|
push1
|
|
pushi $3 ; z
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $df ; 223, centerOn
|
|
lat temp[$13]
|
|
add
|
|
push
|
|
ldi $14 ; 20, nsRight
|
|
sub
|
|
push
|
|
lst temp[$10]
|
|
ldi $8 ; fixPriority
|
|
sub
|
|
push
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class View
|
|
send $4
|
|
bnot
|
|
sat temp[$c]
|
|
send $18
|
|
bnot
|
|
pushi $e ; 14, view
|
|
push1
|
|
pushi $238e ; 9102
|
|
pushi $f ; 15, loop
|
|
push1
|
|
pushi $4 ; scaleX
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
push1
|
|
push0
|
|
lat temp[$c]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $3 ; z
|
|
pushi $e ; 14, view
|
|
push0
|
|
lat temp[$c]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $f ; 15, loop
|
|
push0
|
|
lat temp[$c]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $10 ; 16, cel
|
|
push0
|
|
lat temp[$c]
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_28, $6
|
|
bnot
|
|
add
|
|
push
|
|
lst temp[$10]
|
|
ldi $8 ; fixPriority
|
|
sub
|
|
push
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class View
|
|
send $4
|
|
bnot
|
|
sat temp[$d]
|
|
send $18
|
|
bnot
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class Str
|
|
send $4
|
|
bnot
|
|
sat temp[$4]
|
|
pushi $7 ; priority
|
|
push0
|
|
pushi $afd9 ; -20519
|
|
pushi $8 ; fixPriority
|
|
pushi $6 ; maxScale
|
|
push0
|
|
push1
|
|
pushi $71 ; 113, 'q', data
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_72, $e
|
|
bnot
|
|
pushi $1fa ; 506, makeRadioBtn
|
|
push1
|
|
lofsa attribList
|
|
push
|
|
pushi $25 ; 37, '%', fore
|
|
push1
|
|
lsg global[$54]
|
|
pushi $2a ; 42, '*', font
|
|
push1
|
|
pushi $14 ; 20, nsRight
|
|
pushi $23 ; 35, '#', text
|
|
push1
|
|
lofsa string_0774 ; "Player Combat"
|
|
push
|
|
pushi $1c8 ; 456, helpStr
|
|
push1
|
|
lst temp[$4]
|
|
pushi $5d0 ; 1488, pHelpX
|
|
push1
|
|
pushi $32 ; 50, '2', edit
|
|
lat temp[$13]
|
|
add
|
|
push
|
|
pushi $5d1 ; 1489, pHelpY
|
|
push1
|
|
lst temp[$10]
|
|
ldi $2
|
|
sub
|
|
push
|
|
pushi $5d2 ; 1490, pHelpW
|
|
push1
|
|
pushi $b4 ; 180, end
|
|
pushi $5d3 ; 1491, pHelpH
|
|
push1
|
|
pushi $18 ; 24, lsRight
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
push1
|
|
push0
|
|
lat temp[$c]
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $96 ; 150, isClass
|
|
sub
|
|
push
|
|
lst temp[$10]
|
|
ldi $2
|
|
sub
|
|
push
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class TextButton
|
|
send $4
|
|
bnot
|
|
sat temp[$12]
|
|
send $42
|
|
bnot
|
|
lst temp[$8]
|
|
ldi $3 ; z
|
|
eq?
|
|
bnt code_0d6f
|
|
pushi $433 ; 1075, pPeaceful
|
|
push1
|
|
push0
|
|
lag global[$9e]
|
|
send $6
|
|
bnot
|
|
ldi $0
|
|
sat temp[$1a]
|
|
jmp code_0d73
|
|
|
|
code_0d6f: ldi $1
|
|
sat temp[$1a]
|
|
code_0d73: pushi $1fa ; 506, makeRadioBtn
|
|
push1
|
|
lofsa combatList
|
|
push
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $f ; 15, loop
|
|
push1
|
|
lat temp[$1a]
|
|
bnt code_0d8a
|
|
ldi $0
|
|
jmp code_0d8c
|
|
|
|
code_0d8a: ldi $2
|
|
code_0d8c: push
|
|
pushi $1b4 ; 436, enable
|
|
push2
|
|
lst temp[$1a]
|
|
push1
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $fe ; 254, strIndex
|
|
lat temp[$13]
|
|
add
|
|
push
|
|
lst temp[$10]
|
|
ldi $3 ; z
|
|
sub
|
|
push
|
|
lofsa yesCombat
|
|
send $20
|
|
bnot
|
|
pushi $1fa ; 506, makeRadioBtn
|
|
push1
|
|
lofsa combatList
|
|
push
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $f ; 15, loop
|
|
push1
|
|
lat temp[$1a]
|
|
bnt code_0dc2
|
|
ldi $1
|
|
jmp code_0dc4
|
|
|
|
code_0dc2: ldi $2
|
|
code_0dc4: push
|
|
pushi $1b4 ; 436, enable
|
|
push2
|
|
lst temp[$1a]
|
|
push1
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $fe ; 254, strIndex
|
|
lat temp[$13]
|
|
add
|
|
push
|
|
lst temp[$10]
|
|
ldi $6 ; maxScale
|
|
add
|
|
push
|
|
lofsa noCombat
|
|
send $20
|
|
bnot
|
|
pushi $d0 ; 208, with
|
|
push1
|
|
pushi $433 ; 1075, pPeaceful
|
|
push0
|
|
lag global[$9e]
|
|
send $4
|
|
bnot
|
|
bnt code_0df7
|
|
lofsa string_059e ; "no"
|
|
jmp code_0dfa
|
|
|
|
code_0df7: lofsa string_0590 ; "yes"
|
|
code_0dfa: push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$4]
|
|
pushi $3 ; z
|
|
push1
|
|
push2
|
|
pushi $9 ; inLeft
|
|
push
|
|
callk kernel_91, $4
|
|
bnot
|
|
push
|
|
lsg global[$3a]
|
|
callk kernel_70, $6
|
|
bnot
|
|
sat temp[$19]
|
|
pushi $25 ; 37, '%', fore
|
|
push1
|
|
lsg global[$5c]
|
|
ldi $2
|
|
add
|
|
push
|
|
pushi $23 ; 35, '#', text
|
|
push1
|
|
lst temp[$4]
|
|
pushi $1be ; 446, setSize
|
|
push1
|
|
lst temp[$19]
|
|
pushi $94 ; 148, init
|
|
push0
|
|
pushi $db ; 219, moveTo
|
|
push2
|
|
pushi $df ; 223, centerOn
|
|
lat temp[$13]
|
|
add
|
|
push
|
|
ldi $5 ; scaleY
|
|
sub
|
|
push
|
|
lst temp[$10]
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class TextItem
|
|
send $4
|
|
bnot
|
|
sal local[$3b]
|
|
send $1e
|
|
bnot
|
|
pushi $57 ; 87, 'W', draw
|
|
push0
|
|
pushi $1d0 ; 464, pScreen
|
|
push0
|
|
lag global[$3]
|
|
send $4
|
|
bnot
|
|
send $4
|
|
bnot
|
|
pushi $276 ; 630, handsOn
|
|
push0
|
|
lag global[$2]
|
|
send $4
|
|
bnot
|
|
ret
|
|
|
|
makeCharacter_Page2::dispose:
|
|
lal local[$3a]
|
|
bnt code_0e75
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
send $4
|
|
bnot
|
|
ldi $0
|
|
sal local[$3a]
|
|
code_0e75: lal local[$38]
|
|
bnt code_0e84
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
send $4
|
|
bnot
|
|
ldi $0
|
|
sal local[$38]
|
|
code_0e84: lal local[$3b]
|
|
bnt code_0e93
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
send $4
|
|
bnot
|
|
ldi $0
|
|
sal local[$3b]
|
|
code_0e93: lag global[$9e]
|
|
bnt code_0e9e
|
|
pushi $3c6 ; 966, deleteFromRoom
|
|
push0
|
|
send $4
|
|
bnot
|
|
code_0e9e: push1
|
|
lofsa alignList
|
|
push
|
|
calle export60000_0, $2
|
|
bnot
|
|
bnt code_0eb6
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lofsa alignList
|
|
send $4
|
|
bnot
|
|
code_0eb6: push1
|
|
lofsa attribList
|
|
push
|
|
calle export60000_0, $2
|
|
bnot
|
|
bnt code_0ece
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lofsa alignList
|
|
send $4
|
|
bnot
|
|
code_0ece: push1
|
|
lofsa combatList
|
|
push
|
|
calle export60000_0, $2
|
|
bnot
|
|
bnt code_0ee6
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lofsa combatList
|
|
send $4
|
|
bnot
|
|
code_0ee6: pushi $95 ; 149, dispose
|
|
push0
|
|
&rest $1
|
|
super StaticRealmRoom, $4
|
|
bnot
|
|
ret
|
|
|
|
makeCharacter_Page2::doit:
|
|
link $2
|
|
pushi $a0 ; 160, firstTrue
|
|
push2
|
|
pushi $eb ; 235, onMe
|
|
pushi $f4 ; 244, curEvent
|
|
push0
|
|
lag global[$e]
|
|
send $4
|
|
bnot
|
|
push
|
|
lofsa alignList
|
|
send $8
|
|
bnot
|
|
sat temp[$0]
|
|
bt code_0f3e
|
|
pushi $a0 ; 160, firstTrue
|
|
pushi $3 ; z
|
|
pushi $eb ; 235, onMe
|
|
push1
|
|
push0
|
|
pushi $f4 ; 244, curEvent
|
|
push0
|
|
lag global[$e]
|
|
send $4
|
|
bnot
|
|
send $4
|
|
bnot
|
|
push
|
|
push2
|
|
push0
|
|
pushi $f4 ; 244, curEvent
|
|
push0
|
|
lag global[$e]
|
|
send $4
|
|
bnot
|
|
send $4
|
|
bnot
|
|
push
|
|
lofsa attribList
|
|
send $a
|
|
bnot
|
|
sat temp[$0]
|
|
code_0f3e: bnt code_0f60
|
|
lsl local[$39]
|
|
lat temp[$0]
|
|
ne?
|
|
bt code_0f50
|
|
pushi $1bf ; 447, isHidden
|
|
push0
|
|
lal local[$38]
|
|
send $4
|
|
bnot
|
|
code_0f50: bnt code_0f74
|
|
push1
|
|
lst temp[$0]
|
|
call code_0fbe, $2
|
|
bnot
|
|
lat temp[$0]
|
|
sal local[$39]
|
|
jmp code_0f74
|
|
|
|
code_0f60: lal local[$38]
|
|
bnt code_0f74
|
|
pushi $75 ; 117, 'u', show
|
|
push0
|
|
lal local[$3a]
|
|
send $4
|
|
bnot
|
|
pushi $69 ; 105, 'i', hide
|
|
push0
|
|
lal local[$38]
|
|
send $4
|
|
bnot
|
|
code_0f74: pushi $45 ; 69, 'E', doit
|
|
push0
|
|
&rest $1
|
|
super StaticRealmRoom, $4
|
|
bnot
|
|
code_0f7e: ret
|
|
|
|
link $4
|
|
ldi $0
|
|
sat temp[$3]
|
|
lsp param[$2]
|
|
ldi $7 ; priority
|
|
mul
|
|
push
|
|
lap param[$1]
|
|
add
|
|
sat temp[$1]
|
|
lsp param[$3]
|
|
ldi $7 ; priority
|
|
mul
|
|
push
|
|
lap param[$1]
|
|
add
|
|
lali local[$1c]
|
|
sat temp[$0]
|
|
lat temp[$1]
|
|
lsli local[$0]
|
|
lat temp[$0]
|
|
add
|
|
sat temp[$3]
|
|
code_0fa6: ret
|
|
|
|
pushi $8c ; 140, scratch
|
|
push1
|
|
pushi $8 ; fixPriority
|
|
pushi $9a ; 154, yourself
|
|
push0
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class AttributeObj
|
|
send $4
|
|
bnot
|
|
send $a
|
|
bnot
|
|
code_0fbe: ret
|
|
|
|
link $1
|
|
pushi $69 ; 105, 'i', hide
|
|
push0
|
|
lal local[$3a]
|
|
send $4
|
|
bnot
|
|
lal local[$38]
|
|
bnt code_0fd4
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
send $4
|
|
bnot
|
|
code_0fd4: pushi $8 ; fixPriority
|
|
pushi $1c8 ; 456, helpStr
|
|
push0
|
|
lap param[$1]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $65 ; 101, 'e', topString
|
|
push1
|
|
pushi $91 ; 145, bitPutIndex
|
|
push0
|
|
pushi $64 ; 100, 'd', moveDone
|
|
pushi $ff ; 255, asInteger
|
|
pushi $163 ; 355, endCel
|
|
calle export60029_0, $10
|
|
bnot
|
|
sal local[$38]
|
|
ret
|
|
|