1164 lines
19 KiB
Plaintext
1164 lines
19 KiB
Plaintext
export45015_0 = makeToon
|
|
|
|
CToonMake::handleEvent:
|
|
link $4
|
|
pushi $2b ; 43, '+', type
|
|
push0
|
|
lap param[$1]
|
|
send $4
|
|
bnot
|
|
push
|
|
dup
|
|
ldi $100 ; 256, strMax
|
|
eq?
|
|
bnt code_00aa
|
|
pushi $31 ; 49, '1', message
|
|
push0
|
|
lap param[$1]
|
|
send $4
|
|
bnot
|
|
push
|
|
dup
|
|
ldi $3 ; z
|
|
eq?
|
|
bnt code_0085
|
|
pushi $24e ; 590, handsOff
|
|
push0
|
|
lag global[$2]
|
|
send $4
|
|
bnot
|
|
ldi $afd6 ; -20522
|
|
sag global[$36]
|
|
pushi $50 ; 80, 'P', claimed
|
|
push1
|
|
push1
|
|
lap param[$1]
|
|
send $6
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
self $4
|
|
bnot
|
|
jmp code_00a9
|
|
|
|
code_0085: dup
|
|
ldi $4 ; scaleX
|
|
eq?
|
|
bnt code_00a9
|
|
pushi $48 ; 72, 'H', modifiers
|
|
push0
|
|
lap param[$1]
|
|
send $4
|
|
bnot
|
|
sag global[$9e]
|
|
pushi $c9 ; 201, setScript
|
|
push1
|
|
pushi $8d ; 141, new
|
|
push0
|
|
lofsa CreateCharacter
|
|
send $4
|
|
bnot
|
|
push
|
|
lag global[$3]
|
|
send $6
|
|
bnot
|
|
code_00a9: toss
|
|
code_00aa: toss
|
|
ret
|
|
|
|
CToonMake::init:
|
|
link $3
|
|
pushi $94 ; 148, init
|
|
push0
|
|
&rest $1
|
|
super CWindowPage, $4
|
|
bnot
|
|
pushi $a ; 10, inTop
|
|
pushi $5 ; scaleY
|
|
push0
|
|
lsl local[$0]
|
|
lsl local[$1]
|
|
lsl local[$2]
|
|
lsl local[$3]
|
|
lsl local[$4]
|
|
lsl local[$5]
|
|
lsl local[$6]
|
|
lsl local[$7]
|
|
callk kernel_118, $14
|
|
bnot
|
|
pushi $9f ; 159, add
|
|
push1
|
|
pushSelf
|
|
class WinDialogSet
|
|
send $6
|
|
bnot
|
|
pushi $276 ; 630, handsOn
|
|
push0
|
|
lag global[$2]
|
|
send $4
|
|
bnot
|
|
ret
|
|
|
|
CToonMake::dispose:
|
|
link $1
|
|
push2
|
|
pushi $5 ; scaleY
|
|
push1
|
|
callk kernel_118, $4
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
&rest $1
|
|
super CWindowPage, $4
|
|
bnot
|
|
ret
|
|
|
|
makeToon::init:
|
|
link $b
|
|
pushi $94 ; 148, init
|
|
push0
|
|
&rest $1
|
|
super StaticRealmRoom, $4
|
|
bnot
|
|
ldi $0
|
|
sag global[$d3]
|
|
push2
|
|
push2
|
|
push1
|
|
callk kernel_118, $4
|
|
bnot
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class fNBody
|
|
send $4
|
|
bnot
|
|
sal local[$0]
|
|
pushi $20 ; 32, ' ', name
|
|
push1
|
|
lofsa string_00be ; "NBodyMaleHuman"
|
|
push
|
|
pushi $1a ; 26, signal
|
|
push1
|
|
pushi $1a ; 26, signal
|
|
push0
|
|
lal local[$0]
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $f7 ; 247, cat
|
|
and
|
|
push
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push0
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
push0
|
|
pushi $1f4 ; 500, setView
|
|
push1
|
|
pushi $64 ; 100, 'd', moveDone
|
|
pushi $f ; 15, loop
|
|
push1
|
|
push2
|
|
pushi $3fc ; 1020, pStrength
|
|
push1
|
|
pushi $a ; 10, inTop
|
|
pushi $3fd ; 1021, pDexterity
|
|
push1
|
|
pushi $a ; 10, inTop
|
|
pushi $3fe ; 1022, pIntelligence
|
|
push1
|
|
pushi $a ; 10, inTop
|
|
pushi $400 ; 1024, pEndurance
|
|
push1
|
|
pushi $a ; 10, inTop
|
|
pushi $433 ; 1075, pPeaceful
|
|
push1
|
|
push1
|
|
pushi $40a ; 1034, pAlignment
|
|
push1
|
|
pushi $80 ; 128, lastKey
|
|
pushi $8c ; 140, scratch
|
|
push1
|
|
pushi $8 ; fixPriority
|
|
pushi $152 ; 338, xScaleAdj
|
|
push1
|
|
pushi $64 ; 100, 'd', moveDone
|
|
pushi $153 ; 339, yScaleAdj
|
|
push1
|
|
pushi $64 ; 100, 'd', moveDone
|
|
lal local[$0]
|
|
send $5a
|
|
bnot
|
|
pushi $35c ; 860, getBase
|
|
push1
|
|
class BHead
|
|
push
|
|
pushi $319 ; 793, pHead
|
|
push0
|
|
lal local[$0]
|
|
send $4
|
|
bnot
|
|
send $6
|
|
bnot
|
|
sat temp[$2]
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push1
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
push1
|
|
send $c
|
|
bnot
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class fNBody
|
|
send $4
|
|
bnot
|
|
sal local[$1]
|
|
pushi $20 ; 32, ' ', name
|
|
push1
|
|
lofsa string_00cd ; "NBodyMaleOrc"
|
|
push
|
|
pushi $f ; 15, loop
|
|
push1
|
|
push2
|
|
pushi $1a ; 26, signal
|
|
push1
|
|
pushi $1a ; 26, signal
|
|
push0
|
|
lal local[$1]
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $f7 ; 247, cat
|
|
and
|
|
push
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push0
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
push1
|
|
pushi $1f4 ; 500, setView
|
|
push1
|
|
pushi $64 ; 100, 'd', moveDone
|
|
pushi $3fc ; 1020, pStrength
|
|
push1
|
|
pushi $b ; 11, inRight
|
|
pushi $3fd ; 1021, pDexterity
|
|
push1
|
|
pushi $a ; 10, inTop
|
|
pushi $3fe ; 1022, pIntelligence
|
|
push1
|
|
pushi $8 ; fixPriority
|
|
pushi $400 ; 1024, pEndurance
|
|
push1
|
|
pushi $b ; 11, inRight
|
|
pushi $433 ; 1075, pPeaceful
|
|
push1
|
|
push1
|
|
pushi $40a ; 1034, pAlignment
|
|
push1
|
|
pushi $80 ; 128, lastKey
|
|
pushi $8c ; 140, scratch
|
|
push1
|
|
pushi $8 ; fixPriority
|
|
pushi $152 ; 338, xScaleAdj
|
|
push1
|
|
pushi $6e ; 110, 'n', resX
|
|
pushi $153 ; 339, yScaleAdj
|
|
push1
|
|
pushi $69 ; 105, 'i', hide
|
|
lal local[$1]
|
|
send $5a
|
|
bnot
|
|
pushi $35c ; 860, getBase
|
|
push1
|
|
class BHead
|
|
push
|
|
pushi $319 ; 793, pHead
|
|
push0
|
|
lal local[$1]
|
|
send $4
|
|
bnot
|
|
send $6
|
|
bnot
|
|
sat temp[$2]
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push1
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
push2
|
|
send $c
|
|
bnot
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class fNBody
|
|
send $4
|
|
bnot
|
|
sal local[$2]
|
|
pushi $20 ; 32, ' ', name
|
|
push1
|
|
lofsa string_00da ; "NBodyMaleGiant"
|
|
push
|
|
pushi $f ; 15, loop
|
|
push1
|
|
push2
|
|
pushi $1a ; 26, signal
|
|
push1
|
|
pushi $1a ; 26, signal
|
|
push0
|
|
lal local[$2]
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $f7 ; 247, cat
|
|
and
|
|
push
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push0
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
push2
|
|
pushi $1f4 ; 500, setView
|
|
push1
|
|
pushi $64 ; 100, 'd', moveDone
|
|
pushi $3fc ; 1020, pStrength
|
|
push1
|
|
pushi $e ; 14, view
|
|
pushi $3fd ; 1021, pDexterity
|
|
push1
|
|
pushi $6 ; maxScale
|
|
pushi $3fe ; 1022, pIntelligence
|
|
push1
|
|
pushi $6 ; maxScale
|
|
pushi $400 ; 1024, pEndurance
|
|
push1
|
|
pushi $e ; 14, view
|
|
pushi $433 ; 1075, pPeaceful
|
|
push1
|
|
push1
|
|
pushi $40a ; 1034, pAlignment
|
|
push1
|
|
pushi $80 ; 128, lastKey
|
|
pushi $8c ; 140, scratch
|
|
push1
|
|
pushi $8 ; fixPriority
|
|
pushi $152 ; 338, xScaleAdj
|
|
push1
|
|
pushi $6e ; 110, 'n', resX
|
|
pushi $153 ; 339, yScaleAdj
|
|
push1
|
|
pushi $6e ; 110, 'n', resX
|
|
lal local[$2]
|
|
send $5a
|
|
bnot
|
|
pushi $35c ; 860, getBase
|
|
push1
|
|
class BHead
|
|
push
|
|
pushi $319 ; 793, pHead
|
|
push0
|
|
lal local[$2]
|
|
send $4
|
|
bnot
|
|
send $6
|
|
bnot
|
|
sat temp[$2]
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push1
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
pushi $3 ; z
|
|
send $c
|
|
bnot
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class fNBody
|
|
send $4
|
|
bnot
|
|
sal local[$3]
|
|
pushi $20 ; 32, ' ', name
|
|
push1
|
|
lofsa string_00e9 ; "NBodyMaleElf"
|
|
push
|
|
pushi $f ; 15, loop
|
|
push1
|
|
push2
|
|
pushi $1a ; 26, signal
|
|
push1
|
|
pushi $1a ; 26, signal
|
|
push0
|
|
lal local[$3]
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $f7 ; 247, cat
|
|
and
|
|
push
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push0
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
pushi $3 ; z
|
|
pushi $1f4 ; 500, setView
|
|
push1
|
|
pushi $64 ; 100, 'd', moveDone
|
|
pushi $3fc ; 1020, pStrength
|
|
push1
|
|
pushi $7 ; priority
|
|
pushi $3fd ; 1021, pDexterity
|
|
push1
|
|
pushi $e ; 14, view
|
|
pushi $3fe ; 1022, pIntelligence
|
|
push1
|
|
pushi $d ; 13, seenRect
|
|
pushi $400 ; 1024, pEndurance
|
|
push1
|
|
pushi $6 ; maxScale
|
|
pushi $433 ; 1075, pPeaceful
|
|
push1
|
|
push1
|
|
pushi $40a ; 1034, pAlignment
|
|
push1
|
|
pushi $80 ; 128, lastKey
|
|
pushi $8c ; 140, scratch
|
|
push1
|
|
pushi $8 ; fixPriority
|
|
pushi $152 ; 338, xScaleAdj
|
|
push1
|
|
pushi $5a ; 90, 'Z', size
|
|
pushi $153 ; 339, yScaleAdj
|
|
push1
|
|
pushi $5a ; 90, 'Z', size
|
|
lal local[$3]
|
|
send $5a
|
|
bnot
|
|
pushi $35c ; 860, getBase
|
|
push1
|
|
class BHead
|
|
push
|
|
pushi $319 ; 793, pHead
|
|
push0
|
|
lal local[$3]
|
|
send $4
|
|
bnot
|
|
send $6
|
|
bnot
|
|
sat temp[$2]
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push1
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
pushi $4 ; scaleX
|
|
send $c
|
|
bnot
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class fNBody
|
|
send $4
|
|
bnot
|
|
sal local[$4]
|
|
pushi $20 ; 32, ' ', name
|
|
push1
|
|
lofsa string_00f6 ; "NBodyFemaleHuman"
|
|
push
|
|
pushi $f ; 15, loop
|
|
push1
|
|
push2
|
|
pushi $1a ; 26, signal
|
|
push1
|
|
pushi $1a ; 26, signal
|
|
push0
|
|
lal local[$4]
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $f7 ; 247, cat
|
|
and
|
|
push
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push1
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
push0
|
|
pushi $1f4 ; 500, setView
|
|
push1
|
|
pushi $c8 ; 200, handleEvent
|
|
pushi $3fc ; 1020, pStrength
|
|
push1
|
|
pushi $a ; 10, inTop
|
|
pushi $3fd ; 1021, pDexterity
|
|
push1
|
|
pushi $a ; 10, inTop
|
|
pushi $3fe ; 1022, pIntelligence
|
|
push1
|
|
pushi $a ; 10, inTop
|
|
pushi $400 ; 1024, pEndurance
|
|
push1
|
|
pushi $a ; 10, inTop
|
|
pushi $433 ; 1075, pPeaceful
|
|
push1
|
|
push1
|
|
pushi $40a ; 1034, pAlignment
|
|
push1
|
|
pushi $80 ; 128, lastKey
|
|
pushi $8c ; 140, scratch
|
|
push1
|
|
pushi $8 ; fixPriority
|
|
pushi $152 ; 338, xScaleAdj
|
|
push1
|
|
pushi $64 ; 100, 'd', moveDone
|
|
pushi $153 ; 339, yScaleAdj
|
|
push1
|
|
pushi $64 ; 100, 'd', moveDone
|
|
lal local[$4]
|
|
send $5a
|
|
bnot
|
|
pushi $35c ; 860, getBase
|
|
push1
|
|
class BHead
|
|
push
|
|
pushi $319 ; 793, pHead
|
|
push0
|
|
lal local[$4]
|
|
send $4
|
|
bnot
|
|
send $6
|
|
bnot
|
|
sat temp[$2]
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push2
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
push1
|
|
send $c
|
|
bnot
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class fNBody
|
|
send $4
|
|
bnot
|
|
sal local[$5]
|
|
pushi $20 ; 32, ' ', name
|
|
push1
|
|
lofsa string_0107 ; "NBodyFemaleOrc"
|
|
push
|
|
pushi $f ; 15, loop
|
|
push1
|
|
push2
|
|
pushi $1a ; 26, signal
|
|
push1
|
|
pushi $1a ; 26, signal
|
|
push0
|
|
lal local[$5]
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $f7 ; 247, cat
|
|
and
|
|
push
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push1
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
push1
|
|
pushi $1f4 ; 500, setView
|
|
push1
|
|
pushi $c8 ; 200, handleEvent
|
|
pushi $3fc ; 1020, pStrength
|
|
push1
|
|
pushi $b ; 11, inRight
|
|
pushi $3fd ; 1021, pDexterity
|
|
push1
|
|
pushi $a ; 10, inTop
|
|
pushi $3fe ; 1022, pIntelligence
|
|
push1
|
|
pushi $8 ; fixPriority
|
|
pushi $400 ; 1024, pEndurance
|
|
push1
|
|
pushi $b ; 11, inRight
|
|
pushi $433 ; 1075, pPeaceful
|
|
push1
|
|
push1
|
|
pushi $40a ; 1034, pAlignment
|
|
push1
|
|
pushi $80 ; 128, lastKey
|
|
pushi $8c ; 140, scratch
|
|
push1
|
|
pushi $8 ; fixPriority
|
|
pushi $152 ; 338, xScaleAdj
|
|
push1
|
|
pushi $6e ; 110, 'n', resX
|
|
pushi $153 ; 339, yScaleAdj
|
|
push1
|
|
pushi $69 ; 105, 'i', hide
|
|
lal local[$5]
|
|
send $5a
|
|
bnot
|
|
pushi $35c ; 860, getBase
|
|
push1
|
|
class BHead
|
|
push
|
|
pushi $319 ; 793, pHead
|
|
push0
|
|
lal local[$5]
|
|
send $4
|
|
bnot
|
|
send $6
|
|
bnot
|
|
sat temp[$2]
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push2
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
push2
|
|
send $c
|
|
bnot
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class fNBody
|
|
send $4
|
|
bnot
|
|
sal local[$6]
|
|
pushi $20 ; 32, ' ', name
|
|
push1
|
|
lofsa string_0116 ; "NBodyFemaleGiant"
|
|
push
|
|
pushi $f ; 15, loop
|
|
push1
|
|
push2
|
|
pushi $1a ; 26, signal
|
|
push1
|
|
pushi $1a ; 26, signal
|
|
push0
|
|
lal local[$6]
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $f7 ; 247, cat
|
|
and
|
|
push
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push1
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
push2
|
|
pushi $1f4 ; 500, setView
|
|
push1
|
|
pushi $c8 ; 200, handleEvent
|
|
pushi $3fc ; 1020, pStrength
|
|
push1
|
|
pushi $e ; 14, view
|
|
pushi $3fd ; 1021, pDexterity
|
|
push1
|
|
pushi $6 ; maxScale
|
|
pushi $3fe ; 1022, pIntelligence
|
|
push1
|
|
pushi $6 ; maxScale
|
|
pushi $400 ; 1024, pEndurance
|
|
push1
|
|
pushi $e ; 14, view
|
|
pushi $433 ; 1075, pPeaceful
|
|
push1
|
|
push1
|
|
pushi $40a ; 1034, pAlignment
|
|
push1
|
|
pushi $80 ; 128, lastKey
|
|
pushi $8c ; 140, scratch
|
|
push1
|
|
pushi $8 ; fixPriority
|
|
pushi $152 ; 338, xScaleAdj
|
|
push1
|
|
pushi $6e ; 110, 'n', resX
|
|
pushi $153 ; 339, yScaleAdj
|
|
push1
|
|
pushi $6e ; 110, 'n', resX
|
|
lal local[$6]
|
|
send $5a
|
|
bnot
|
|
pushi $35c ; 860, getBase
|
|
push1
|
|
class BHead
|
|
push
|
|
pushi $319 ; 793, pHead
|
|
push0
|
|
lal local[$6]
|
|
send $4
|
|
bnot
|
|
send $6
|
|
bnot
|
|
sat temp[$2]
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push2
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
pushi $3 ; z
|
|
send $c
|
|
bnot
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class fNBody
|
|
send $4
|
|
bnot
|
|
sal local[$7]
|
|
pushi $20 ; 32, ' ', name
|
|
push1
|
|
lofsa string_0127 ; "NBodyFemaleElf"
|
|
push
|
|
pushi $f ; 15, loop
|
|
push1
|
|
push2
|
|
pushi $1a ; 26, signal
|
|
push1
|
|
pushi $1a ; 26, signal
|
|
push0
|
|
lal local[$7]
|
|
send $4
|
|
bnot
|
|
push
|
|
ldi $f7 ; 247, cat
|
|
and
|
|
push
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push1
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
pushi $3 ; z
|
|
pushi $1f4 ; 500, setView
|
|
push1
|
|
pushi $c8 ; 200, handleEvent
|
|
pushi $3fc ; 1020, pStrength
|
|
push1
|
|
pushi $7 ; priority
|
|
pushi $3fd ; 1021, pDexterity
|
|
push1
|
|
pushi $e ; 14, view
|
|
pushi $3fe ; 1022, pIntelligence
|
|
push1
|
|
pushi $d ; 13, seenRect
|
|
pushi $400 ; 1024, pEndurance
|
|
push1
|
|
pushi $6 ; maxScale
|
|
pushi $433 ; 1075, pPeaceful
|
|
push1
|
|
push1
|
|
pushi $40a ; 1034, pAlignment
|
|
push1
|
|
pushi $80 ; 128, lastKey
|
|
pushi $8c ; 140, scratch
|
|
push1
|
|
pushi $8 ; fixPriority
|
|
pushi $152 ; 338, xScaleAdj
|
|
push1
|
|
pushi $5a ; 90, 'Z', size
|
|
pushi $153 ; 339, yScaleAdj
|
|
push1
|
|
pushi $5a ; 90, 'Z', size
|
|
lal local[$7]
|
|
send $5a
|
|
bnot
|
|
pushi $35c ; 860, getBase
|
|
push1
|
|
class BHead
|
|
push
|
|
pushi $319 ; 793, pHead
|
|
push0
|
|
lal local[$7]
|
|
send $4
|
|
bnot
|
|
send $6
|
|
bnot
|
|
sat temp[$2]
|
|
pushi $4f0 ; 1264, setSex
|
|
push1
|
|
push2
|
|
pushi $4f1 ; 1265, setRace
|
|
push1
|
|
pushi $4 ; scaleX
|
|
send $c
|
|
bnot
|
|
pushi $94 ; 148, init
|
|
push0
|
|
class CToonMake
|
|
send $4
|
|
bnot
|
|
pushi $276 ; 630, handsOn
|
|
push0
|
|
lag global[$2]
|
|
send $4
|
|
bnot
|
|
ret
|
|
|
|
makeToon::dispose:
|
|
link $2
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lal local[$0]
|
|
send $4
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lal local[$1]
|
|
send $4
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lal local[$2]
|
|
send $4
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lal local[$3]
|
|
send $4
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lal local[$4]
|
|
send $4
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lal local[$5]
|
|
send $4
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lal local[$6]
|
|
send $4
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lal local[$7]
|
|
send $4
|
|
bnot
|
|
pushi $9d ; 157, eachElementDo
|
|
push1
|
|
pushi $95 ; 149, dispose
|
|
pushi $a6 ; 166, release
|
|
push0
|
|
class WinDialogSet
|
|
send $a
|
|
bnot
|
|
push2
|
|
push2
|
|
push0
|
|
callk kernel_118, $4
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
class CToonMake
|
|
send $4
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
&rest $1
|
|
super StaticRealmRoom, $4
|
|
bnot
|
|
ret
|
|
|
|
CreateCharacter::handleError:
|
|
link $2
|
|
ldi $0
|
|
sat temp[$0]
|
|
lsp param[$1]
|
|
lag global[$6a]
|
|
eq?
|
|
bnt code_06e1
|
|
pTos state
|
|
ldi $0
|
|
eq?
|
|
bnt code_066f
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lag global[$9e]
|
|
send $4
|
|
bnot
|
|
lag global[$1]
|
|
sag global[$9e]
|
|
ldi $0
|
|
sag global[$1]
|
|
code_066f: lsp param[$3]
|
|
dup
|
|
ldi $271e ; 10014
|
|
eq?
|
|
bnt code_0689
|
|
pushi $f5 ; 245, format
|
|
push1
|
|
lofsa string_013f ; "We're sorry, but in this demo version, you are not allowed to save characters that you create. If you wish to experience the full capabilities of The Realm, please visit our website at http://www.realmserver.com for ordering information. Thank you and happy adventures!\n"
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$0]
|
|
jmp code_06e0
|
|
|
|
code_0689: dup
|
|
ldi $2716 ; 10006
|
|
eq?
|
|
bnt code_06a1
|
|
pushi $f5 ; 245, format
|
|
push1
|
|
lofsa string_024e ; "Data Error: Server process unavailable.\n"
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$0]
|
|
jmp code_06e0
|
|
|
|
code_06a1: dup
|
|
ldi $2714 ; 10004
|
|
eq?
|
|
bnt code_06b9
|
|
pushi $f5 ; 245, format
|
|
push1
|
|
lofsa string_0277 ; "Data Error: Object data not found.\n"
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$0]
|
|
jmp code_06e0
|
|
|
|
code_06b9: dup
|
|
ldi $2711 ; 10001
|
|
eq?
|
|
bnt code_06d1
|
|
pushi $f5 ; 245, format
|
|
push1
|
|
lofsa string_029b ; "Name invalid (contains the number 1?) or already taken. Try again."
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$0]
|
|
jmp code_06e0
|
|
|
|
code_06d1: pushi $f5 ; 245, format
|
|
push1
|
|
lofsa string_02de ; "Data Error: Unknown.\n"
|
|
push
|
|
class Str
|
|
send $6
|
|
bnot
|
|
sat temp[$0]
|
|
code_06e0: toss
|
|
code_06e1: lat temp[$0]
|
|
bnt code_0705
|
|
pushi $3 ; z
|
|
pushi $5 ; scaleY
|
|
push2
|
|
pushi $71 ; 113, 'q', data
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
callk kernel_118, $6
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
lat temp[$0]
|
|
send $4
|
|
bnot
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
self $4
|
|
bnot
|
|
code_0705: ret
|
|
|
|
CreateCharacter::changeState:
|
|
link $3
|
|
lap param[$1]
|
|
aTop state
|
|
push
|
|
dup
|
|
ldi $0
|
|
eq?
|
|
bnt code_077d
|
|
lag global[$9e]
|
|
sag global[$1]
|
|
pushi $8d ; 141, new
|
|
push0
|
|
class WorldEgo
|
|
send $4
|
|
bnot
|
|
sag global[$9e]
|
|
pushi $35c ; 860, getBase
|
|
push1
|
|
class BCharacter
|
|
push
|
|
lag global[$1]
|
|
send $6
|
|
bnot
|
|
sat temp[$1]
|
|
pushi $5a2 ; 1442, createCharacter
|
|
pushi $9 ; inLeft
|
|
lsg global[$9e]
|
|
pushi $35d ; 861, pProperName
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $4c7 ; 1223, pTitle
|
|
push0
|
|
lat temp[$1]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $4c5 ; 1221, pProfession
|
|
push0
|
|
lat temp[$1]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $30b ; 779, pRace
|
|
push0
|
|
lat temp[$1]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $30c ; 780, pSex
|
|
push0
|
|
lat temp[$1]
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $433 ; 1075, pPeaceful
|
|
push0
|
|
lat temp[$1]
|
|
send $4
|
|
bnot
|
|
push
|
|
lsg global[$1]
|
|
pushSelf
|
|
lag global[$6a]
|
|
send $16
|
|
bnot
|
|
jmp code_0835
|
|
|
|
code_077d: dup
|
|
ldi $1
|
|
eq?
|
|
bnt code_0796
|
|
pushi $5a8 ; 1448, setHeadData
|
|
pushi $3 ; z
|
|
lsg global[$9e]
|
|
lsg global[$1]
|
|
pushSelf
|
|
lag global[$6a]
|
|
send $a
|
|
bnot
|
|
jmp code_0835
|
|
|
|
code_0796: dup
|
|
ldi $2
|
|
eq?
|
|
bnt code_07c3
|
|
pushi $35c ; 860, getBase
|
|
push1
|
|
class BCharacter
|
|
push
|
|
lag global[$1]
|
|
send $6
|
|
bnot
|
|
sat temp[$1]
|
|
pushi $4ca ; 1226, setBiography
|
|
pushi $3 ; z
|
|
lsg global[$9e]
|
|
pushi $4c8 ; 1224, pBiography
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
pushSelf
|
|
lag global[$6a]
|
|
send $a
|
|
bnot
|
|
jmp code_0835
|
|
|
|
code_07c3: dup
|
|
ldi $3 ; z
|
|
eq?
|
|
bnt code_07f8
|
|
pushi $35c ; 860, getBase
|
|
push1
|
|
class BCharacter
|
|
push
|
|
lag global[$1]
|
|
send $6
|
|
bnot
|
|
sat temp[$1]
|
|
pushi $4ca ; 1226, setBiography
|
|
push1
|
|
pushi $4c8 ; 1224, pBiography
|
|
push0
|
|
send $4
|
|
bnot
|
|
push
|
|
pushi $35c ; 860, getBase
|
|
push1
|
|
class BCharacter
|
|
push
|
|
lag global[$9e]
|
|
send $6
|
|
bnot
|
|
send $6
|
|
bnot
|
|
ldi $1
|
|
aTop cycles
|
|
jmp code_0835
|
|
|
|
code_07f8: dup
|
|
ldi $4 ; scaleX
|
|
eq?
|
|
bnt code_080f
|
|
pushi $9f ; 159, add
|
|
push1
|
|
lsg global[$9e]
|
|
class StockCharacters
|
|
send $6
|
|
bnot
|
|
ldi $1
|
|
aTop cycles
|
|
jmp code_0835
|
|
|
|
code_080f: dup
|
|
ldi $5 ; scaleY
|
|
eq?
|
|
bnt code_081f
|
|
ldi $0
|
|
sag global[$1]
|
|
ldi $1
|
|
aTop cycles
|
|
jmp code_0835
|
|
|
|
code_081f: dup
|
|
ldi $6 ; maxScale
|
|
eq?
|
|
bnt code_0835
|
|
ldi $1
|
|
sag global[$c8]
|
|
ldi $afd6 ; -20522
|
|
sag global[$36]
|
|
pushi $95 ; 149, dispose
|
|
push0
|
|
self $4
|
|
bnot
|
|
code_0835: toss
|
|
ret
|
|
|