diff --git a/Script/Script45016.txt b/Script/Script45016.txt new file mode 100644 index 0000000..8b501fa --- /dev/null +++ b/Script/Script45016.txt @@ -0,0 +1,2003 @@ +export45016_0 = makeCharacter_Page1 + +nameView::highlight: + lap param[$1] + bnt code_007e + ldi $1 + aTop cel + jmp code_0082 + +code_007e: ldi $0 + aTop cel +code_0082: pushi $1c9 ; 457, highlight + push0 + &rest $2 + super , $4 + bnot + ret + +nameView::draw: + link $1 + pToa bitmap + sat temp[$0] + bnt code_00a6 + push1 + pushSelf + callk kernel_31, $2 + bnot + pushi $9f ; 159, add + push1 + pTos bitmap + lag global[$66] + send $6 + bnot +code_00a6: push1 + pushSelf + calle export60026_1, $2 + bnot + aTop bitmap + lat temp[$0] + bnt code_00bb + push1 + pushSelf + callk kernel_30, $2 + bnot +code_00bb: pushi $57 ; 87, 'W', draw + push0 + &rest $1 + super , $4 + bnot + ret + +titleView::highlight: + lap param[$1] + bnt code_00cf + ldi $1 + aTop cel + jmp code_00d3 + +code_00cf: ldi $0 + aTop cel +code_00d3: pushi $1c9 ; 457, highlight + push0 + &rest $2 + super , $4 + bnot + ret + +titleView::draw: + link $1 + pToa bitmap + sat temp[$0] + bnt code_00f7 + push1 + pushSelf + callk kernel_31, $2 + bnot + pushi $9f ; 159, add + push1 + pTos bitmap + lag global[$66] + send $6 + bnot +code_00f7: push1 + pushSelf + calle export60026_1, $2 + bnot + aTop bitmap + lat temp[$0] + bnt code_010c + push1 + pushSelf + callk kernel_30, $2 + bnot +code_010c: pushi $57 ; 87, 'W', draw + push0 + &rest $1 + super , $4 + bnot + ret + +mainBtn::doit: + pushi $7 ; priority + lofsa string_03ae ; "Warning! Your character will not be saved!\n" + push + pushi $77 ; 119, 'w', textTop + lofsa string_040e ; "Yes" + push + push1 + pushi $77 ; 119, 'w', textTop + lofsa string_0412 ; "No" + push + push0 + calle export60029_0, $e + bnot + bnt code_015a + pushi $24e ; 590, handsOff + push0 + lag global[$2] + send $4 + bnot + push1 + lsg global[$a0] + calle export60000_0, $2 + bnot + bnt code_0155 + pushi $95 ; 149, dispose + push0 + lag global[$a0] + send $4 + bnot + ldi $0 + sag global[$a0] +code_0155: ldi $afd6 ; -20522 + sag global[$36] +code_015a: ret + +nextBtn::doit: + link $1 + push2 + pushi $a ; 10, inTop + pushi $71 ; 113, 'q', data + push0 + pushi $23 ; 35, '#', text + push0 + lofsa nameCharacter + send $4 + bnot + send $4 + bnot + push + callk kernel_92, $4 + bnot + push2 + pushi $a ; 10, inTop + pushi $71 ; 113, 'q', data + push0 + pushi $23 ; 35, '#', text + push0 + lofsa titleCharacter + send $4 + bnot + send $4 + bnot + push + callk kernel_92, $4 + bnot + pushi $ae ; 174, indexOf + push1 + pushi $2a ; 42, '*', font + pushi $23 ; 35, '#', text + push0 + lofsa nameCharacter + send $4 + bnot + send $6 + bnot + push + ldi $0 + ge? + bnt code_01f1 + pushi $29 ; 41, ')', state + push1 + pushi $29 ; 41, ')', state + push0 + lofsa titleCharacter + send $4 + bnot + push + ldi $f7 ; 247, cat + and + push + pushi $57 ; 87, 'W', draw + push0 + lofsa titleCharacter + send $a + bnot + pushi $29 ; 41, ')', state + push1 + pushi $29 ; 41, ')', state + push0 + lofsa nameCharacter + send $4 + bnot + push + ldi $8 ; fixPriority + or + push + pushi $57 ; 87, 'W', draw + push0 + lofsa nameCharacter + send $a + bnot + pushi $6 ; maxScale + lofsa string_0422 ; "Your character's name must not contain profanity.\n" + push + pushi $65 ; 101, 'e', topString + push1 + pushi $77 ; 119, 'w', textTop + lofsa string_046b ; "Okay" + push + push0 + calle export60029_0, $c + bnot + jmp code_038c + +code_01f1: pushi $ae ; 174, indexOf + push1 + pushi $2a ; 42, '*', font + pushi $23 ; 35, '#', text + push0 + lofsa titleCharacter + send $4 + bnot + send $6 + bnot + push + ldi $0 + ge? + bnt code_0257 + pushi $29 ; 41, ')', state + push1 + pushi $29 ; 41, ')', state + push0 + lofsa nameCharacter + send $4 + bnot + push + ldi $f7 ; 247, cat + and + push + pushi $57 ; 87, 'W', draw + push0 + lofsa nameCharacter + send $a + bnot + pushi $29 ; 41, ')', state + push1 + pushi $29 ; 41, ')', state + push0 + lofsa titleCharacter + send $4 + bnot + push + ldi $8 ; fixPriority + or + push + pushi $57 ; 87, 'W', draw + push0 + lofsa titleCharacter + send $a + bnot + pushi $6 ; maxScale + lofsa string_0470 ; "Your character's title must not contain profanity.\n" + push + pushi $65 ; 101, 'e', topString + push1 + pushi $77 ; 119, 'w', textTop + lofsa string_046b ; "Okay" + push + push0 + calle export60029_0, $c + bnot + jmp code_038c + +code_0257: pushi $5a ; 90, 'Z', size + push0 + pushi $23 ; 35, '#', text + push0 + lofsa nameCharacter + send $4 + bnot + send $4 + bnot + not + bnt code_02b7 + pushi $29 ; 41, ')', state + push1 + pushi $29 ; 41, ')', state + push0 + lofsa titleCharacter + send $4 + bnot + push + ldi $f7 ; 247, cat + and + push + pushi $57 ; 87, 'W', draw + push0 + lofsa titleCharacter + send $a + bnot + pushi $29 ; 41, ')', state + push1 + pushi $29 ; 41, ')', state + push0 + lofsa nameCharacter + send $4 + bnot + push + ldi $8 ; fixPriority + or + push + pushi $57 ; 87, 'W', draw + push0 + lofsa nameCharacter + send $a + bnot + pushi $6 ; maxScale + lofsa string_04ba ; "You must provide a name\n" + push + pushi $65 ; 101, 'e', topString + push1 + pushi $77 ; 119, 'w', textTop + lofsa string_046b ; "Okay" + push + push0 + calle export60029_0, $c + bnot + jmp code_038c + +code_02b7: pushi $5a ; 90, 'Z', size + push0 + pushi $23 ; 35, '#', text + push0 + lofsa titleCharacter + send $4 + bnot + send $4 + bnot + not + bnt code_0317 + pushi $29 ; 41, ')', state + push1 + pushi $29 ; 41, ')', state + push0 + lofsa nameCharacter + send $4 + bnot + push + ldi $f7 ; 247, cat + and + push + pushi $57 ; 87, 'W', draw + push0 + lofsa nameCharacter + send $a + bnot + pushi $29 ; 41, ')', state + push1 + pushi $29 ; 41, ')', state + push0 + lofsa titleCharacter + send $4 + bnot + push + ldi $8 ; fixPriority + or + push + pushi $57 ; 87, 'W', draw + push0 + lofsa titleCharacter + send $a + bnot + pushi $6 ; maxScale + lofsa string_04e6 ; "You must provide a title\n" + push + pushi $65 ; 101, 'e', topString + push1 + pushi $77 ; 119, 'w', textTop + lofsa string_046b ; "Okay" + push + push0 + calle export60029_0, $c + bnot + jmp code_038c + +code_0317: pushi $24e ; 590, handsOff + push0 + lag global[$2] + send $4 + bnot + lal local[$6] + bnt code_0387 + pushi $35c ; 860, getBase + push1 + class BCharacter + push + lag global[$9e] + send $6 + bnot + sat temp[$0] + push1 + pushi $23 ; 35, '#', text + push0 + lofsa nameCharacter + send $4 + bnot + push + calle export60027_14, $2 + bnot + sal local[$2] + pushi $4c9 ; 1225, setProperName + push1 + push + lat temp[$0] + send $6 + bnot + pushi $42a ; 1066, setTitle + push1 + pushi $23 ; 35, '#', text + push0 + lofsa titleCharacter + send $4 + bnot + push + lat temp[$0] + send $6 + bnot + pushi $4c5 ; 1221, pProfession + push1 + lsl local[$4] + lat temp[$0] + send $6 + bnot + push1 + lsg global[$a0] + calle export60000_0, $2 + bnot + bnt code_0387 + pushi $95 ; 149, dispose + push0 + lag global[$a0] + send $4 + bnot + ldi $0 + sag global[$a0] +code_0387: ldi $afd7 ; -20521 + sag global[$36] +code_038c: ret + +profChanger::doit: + pushi $1cb ; 459, choose + push0 + lap param[$1] + send $4 + bnot + lap param[$1] + sal local[$0] + lsl local[$4] + pushi $51 ; 81, 'Q', value + push0 + lap param[$1] + send $4 + bnot + ne? + bnt code_03f5 + pushi $24e ; 590, handsOff + push0 + lag global[$2] + send $4 + bnot + pushi $7 ; priority + push0 + pushi $afd8 ; -20520 + pushi $51 ; 81, 'Q', value + push0 + lap param[$1] + send $4 + bnot + push + ldi $1 + add + push + pushi $69 ; 105, 'i', hide + push0 + push1 + pushi $71 ; 113, 'q', data + push0 + lal local[$2] + send $4 + bnot + push + callk kernel_72, $e + bnot + pushi $57 ; 87, 'W', draw + push1 + push1 + lofsa titleCharacter + send $6 + bnot + pushi $51 ; 81, 'Q', value + push0 + lap param[$1] + send $4 + bnot + sal local[$4] + ldi $1 + sal local[$6] + pushi $276 ; 630, handsOn + push0 + lag global[$2] + send $4 + bnot +code_03f5: ldi $1 + ret + +nameCharacter::init: + pushi $94 ; 148, init + push0 + &rest $1 + super EditItem, $4 + bnot + pushi $1be ; 446, setSize + push1 + pTos right + self $6 + bnot + ret + +nameCharacter::drawSelected: + ret + +nameCharacter::draw: + link $1 + lap param[$0] + bnt code_047e + pushi $d1 ; 209, newWith + push2 + pushi $5a ; 90, 'Z', size + push0 + lal local[$3] + send $4 + bnot + push + lsl local[$3] + class Str + send $8 + bnot + sat temp[$0] + push2 + push2 + pTos editID + callk kernel_74, $4 + bnot + pushi $95 ; 149, dispose + push0 + lal local[$3] + send $4 + bnot + pushi $d0 ; 208, with + push1 + pushi $71 ; 113, 'q', data + push0 + lat temp[$0] + send $4 + bnot + push + class Str + send $6 + bnot + sal local[$3] + push1 + push1 + pushi $64 ; 100, 'd', moveDone + push2 + push1 + pushi $57 ; 87, 'W', draw + pushi $23 ; 35, '#', text + push1 + push1 + push + calle export60027_14, $2 + bnot + push + self $12 + bnot + pushi $1d7 ; 471, editID + push1 + push2 + push1 + pushSelf + callk kernel_74, $4 + bnot + push + self $6 + bnot + pushi $95 ; 149, dispose + push0 + lat temp[$0] + send $4 + bnot +code_047e: pTos state + ldi $8 ; fixPriority + and + bnt code_049b + pushi $1c9 ; 457, highlight + push1 + push1 + lofsa nameView + send $6 + bnot + pushi $1c9 ; 457, highlight + push1 + push0 + lofsa titleView + send $6 + bnot +code_049b: pushi $57 ; 87, 'W', draw + push0 + &rest $2 + super EditItem, $4 + bnot + ret + +nameCharacter::validKey: + pushi $7c ; 124, '|', titleBack + lap param[$1] + ne? + bnt code_04d0 + push1 + lsp param[$1] + calle export60027_5, $2 + bnot + bnt code_04d0 + push1 + lsp param[$1] + calle export60027_7, $2 + bnot + not + bnt code_04d0 + push1 + lsp param[$1] + calle export60027_2, $2 + bnot + not +code_04d0: bt code_04fa + 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_04fa: ret + +nameCharacter::handleEvent: + link $4 + ldi $0 + sat temp[$0] + pushi $50 ; 80, 'P', claimed + push0 + lap param[$1] + send $4 + bnot + bnt code_050e + ldi $0 + ret + +code_050e: pTos state + ldi $8 ; fixPriority + and + bnt code_0667 + pushi $31 ; 49, '1', message + push0 + lap param[$1] + send $4 + bnot + sat temp[$1] + pushi $2b ; 43, '+', type + push0 + lap param[$1] + send $4 + bnot + push + ldi $4 ; scaleX + eq? + bnt code_06b2 + pushi $48 ; 72, 'H', modifiers + push0 + lap param[$1] + send $4 + bnot + push + ldi $8 ; fixPriority + and + bt code_0550 + pushi $4 ; scaleX + lst temp[$1] + pushi $4800 ; 18432 + pushi $5000 ; 20480 + pushi $1b ; 27, illegalBits + calle export60025_4, $8 + bnot +code_0550: bnt code_0557 + ldi $0 + jmp code_06b2 + +code_0557: pushi $4 ; scaleX + lst temp[$1] + pushi $9 ; inLeft + pushi $d ; 13, seenRect + pushi $f00 ; 3840, BAD SELECTOR + calle export60025_4, $8 + bnot + bnt code_0596 + pTos state + ldi $f7 ; 247, cat + and + aTop state + pushi $57 ; 87, 'W', draw + push1 + push1 + self $6 + bnot + pushi $29 ; 41, ')', state + push1 + pushi $29 ; 41, ')', state + push0 + lofsa titleCharacter + send $4 + bnot + push + ldi $8 ; fixPriority + or + push + pushi $57 ; 87, 'W', draw + push0 + lofsa titleCharacter + send $a + bnot + jmp code_0656 + +code_0596: pushi $f5 ; 245, format + pushi $3 ; z + lofsa string_0536 ; "%s%c." + push + pTos text + lst temp[$1] + class Str + send $a + bnot + sat temp[$3] + pushi $1df ; 479, validKey + push2 + lst temp[$1] + push + self $8 + bnot + bnt code_064d + pushi $8d ; 141, new + push0 + class Rect + send $4 + bnot + sat temp[$2] + pushi $e5 ; 229, sizeToStr + pushi $3 ; z + lst temp[$3] + pTos font + pushi $ff ; 255, asInteger + send $a + bnot + push1 + lst temp[$1] + calle export60027_8, $2 + bnot + bnt code_05ec + pushi $3 ; z + pushi $5 ; scaleY + pTos editID + lsp param[$1] + callk kernel_74, $6 + bnot + jmp code_0644 + +code_05ec: pToa max + bnt code_0626 + push2 + push1 + push2 + pushi $9 ; inLeft + pTos text + callk kernel_91, $4 + bnot + push + callk kernel_92, $4 + bnot + push + pToa max + lt? + bnt code_0644 + pushi $4e ; 78, 'N', width + push0 + lat temp[$2] + send $4 + bnot + push + pushi $4e ; 78, 'N', width + push0 + self $4 + bnot + lt? + bnt code_0644 + pushi $3 ; z + pushi $5 ; scaleY + pTos editID + lsp param[$1] + callk kernel_74, $6 + bnot + jmp code_0644 + +code_0626: pushi $4e ; 78, 'N', width + push0 + lat temp[$2] + send $4 + bnot + push + pushi $4e ; 78, 'N', width + push0 + self $4 + bnot + lt? + bnt code_0644 + pushi $3 ; z + pushi $5 ; scaleY + pTos editID + lsp param[$1] + callk kernel_74, $6 + bnot +code_0644: pushi $95 ; 149, dispose + push0 + lat temp[$2] + send $4 + bnot +code_064d: pushi $95 ; 149, dispose + push0 + lat temp[$3] + send $4 + bnot +code_0656: ldi $1 + sal local[$6] + pushi $50 ; 80, 'P', claimed + push1 + push1 + lap param[$1] + send $6 + bnot + sat temp[$0] + jmp code_06b2 + +code_0667: pushi $2b ; 43, '+', type + push0 + lap param[$1] + send $4 + bnot + push + ldi $1 + and + bnt code_06b2 + pushi $a3 ; 163, contains + push1 + lsp param[$1] + self $6 + bnot + bnt code_06b2 + pTos state + ldi $8 ; fixPriority + or + aTop state + pushi $57 ; 87, 'W', draw + push0 + self $4 + bnot + pushi $29 ; 41, ')', state + push1 + pushi $29 ; 41, ')', state + push0 + lofsa titleCharacter + send $4 + bnot + push + ldi $f7 ; 247, cat + and + push + pushi $57 ; 87, 'W', draw + push0 + lofsa titleCharacter + send $a + bnot + pushi $50 ; 80, 'P', claimed + push1 + push1 + lap param[$1] + send $6 + bnot + sat temp[$0] +code_06b2: lat temp[$0] + ret + +nameCharacter::select: + ret + +titleCharacter::init: + pushi $94 ; 148, init + push0 + &rest $1 + super EditItem, $4 + bnot + pushi $1be ; 446, setSize + push1 + pTos right + self $6 + bnot + ret + +titleCharacter::drawSelected: + ret + +titleCharacter::draw: + link $1 + lap param[$0] + bnt code_0735 + pushi $d1 ; 209, newWith + push2 + pushi $5a ; 90, 'Z', size + push0 + lal local[$2] + send $4 + bnot + push + lsl local[$2] + class Str + send $8 + bnot + sat temp[$0] + push2 + push2 + pTos editID + callk kernel_74, $4 + bnot + pushi $95 ; 149, dispose + push0 + lal local[$2] + send $4 + bnot + pushi $d0 ; 208, with + push1 + pushi $71 ; 113, 'q', data + push0 + lat temp[$0] + send $4 + bnot + push + class Str + send $6 + bnot + sal local[$2] + push1 + push1 + pushi $166 ; 358, dirLoop + push2 + push1 + pushi $57 ; 87, 'W', draw + pushi $23 ; 35, '#', text + push1 + push + self $12 + bnot + pushi $1d7 ; 471, editID + push1 + push2 + push1 + pushSelf + callk kernel_74, $4 + bnot + push + self $6 + bnot + pushi $95 ; 149, dispose + push0 + lat temp[$0] + send $4 + bnot +code_0735: pTos state + ldi $8 ; fixPriority + and + bnt code_0752 + pushi $1c9 ; 457, highlight + push1 + push1 + lofsa titleView + send $6 + bnot + pushi $1c9 ; 457, highlight + push1 + push0 + lofsa nameView + send $6 + bnot +code_0752: pushi $57 ; 87, 'W', draw + push0 + &rest $2 + super EditItem, $4 + bnot + ret + +titleCharacter::validKey: + pushi $7c ; 124, '|', titleBack + lap param[$1] + ne? + bnt code_077a + push1 + lsp param[$1] + calle export60027_5, $2 + bnot + bnt code_077a + push1 + lsp param[$1] + calle export60027_7, $2 + bnot + not +code_077a: bt code_07b0 + push1 + lsp param[$1] + calle export60027_2, $2 + bnot + bt code_07b0 + 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_07b0: ret + +titleCharacter::handleEvent: + link $4 + ldi $0 + sat temp[$0] + pushi $50 ; 80, 'P', claimed + push0 + lap param[$1] + send $4 + bnot + bnt code_07c4 + ldi $0 + ret + +code_07c4: pTos state + ldi $8 ; fixPriority + and + bnt code_091f + pushi $31 ; 49, '1', message + push0 + lap param[$1] + send $4 + bnot + sat temp[$1] + pushi $2b ; 43, '+', type + push0 + lap param[$1] + send $4 + bnot + push + ldi $4 ; scaleX + eq? + bnt code_096a + pushi $48 ; 72, 'H', modifiers + push0 + lap param[$1] + send $4 + bnot + push + ldi $8 ; fixPriority + and + bt code_0806 + pushi $4 ; scaleX + lst temp[$1] + pushi $4800 ; 18432 + pushi $5000 ; 20480 + pushi $1b ; 27, illegalBits + calle export60025_4, $8 + bnot +code_0806: bnt code_080d + ldi $0 + jmp code_096a + +code_080d: pushi $4 ; scaleX + lst temp[$1] + pushi $9 ; inLeft + pushi $d ; 13, seenRect + pushi $f00 ; 3840, BAD SELECTOR + calle export60025_4, $8 + bnot + bnt code_084c + pTos state + ldi $f7 ; 247, cat + and + aTop state + pushi $57 ; 87, 'W', draw + push1 + push1 + self $6 + bnot + pushi $29 ; 41, ')', state + push1 + pushi $29 ; 41, ')', state + push0 + lofsa nameCharacter + send $4 + bnot + push + ldi $8 ; fixPriority + or + push + pushi $57 ; 87, 'W', draw + push0 + lofsa nameCharacter + send $a + bnot + jmp code_090d + +code_084c: pushi $f5 ; 245, format + pushi $3 ; z + lofsa string_0536 ; "%s%c." + push + pTos text + lst temp[$1] + class Str + send $a + bnot + sat temp[$3] + pushi $1df ; 479, validKey + push2 + lst temp[$1] + push + self $8 + bnot + bnt code_0904 + pushi $8d ; 141, new + push0 + class Rect + send $4 + bnot + sat temp[$2] + pushi $e5 ; 229, sizeToStr + pushi $3 ; z + lst temp[$3] + pTos font + pushi $ff ; 255, asInteger + send $a + bnot + push1 + lst temp[$1] + calle export60027_8, $2 + bnot + bnt code_08a3 + pushi $3 ; z + pushi $5 ; scaleY + pTos editID + lsp param[$1] + callk kernel_74, $6 + bnot + jmp code_08fb + +code_08a3: pToa max + bnt code_08dd + push2 + push1 + push2 + pushi $9 ; inLeft + pTos text + callk kernel_91, $4 + bnot + push + callk kernel_92, $4 + bnot + push + pToa max + lt? + bnt code_08fb + pushi $4e ; 78, 'N', width + push0 + lat temp[$2] + send $4 + bnot + push + pushi $4e ; 78, 'N', width + push0 + self $4 + bnot + lt? + bnt code_08fb + pushi $3 ; z + pushi $5 ; scaleY + pTos editID + lsp param[$1] + callk kernel_74, $6 + bnot + jmp code_08fb + +code_08dd: pushi $4e ; 78, 'N', width + push0 + lat temp[$2] + send $4 + bnot + push + pushi $4e ; 78, 'N', width + push0 + self $4 + bnot + lt? + bnt code_08fb + pushi $3 ; z + pushi $5 ; scaleY + pTos editID + lsp param[$1] + callk kernel_74, $6 + bnot +code_08fb: pushi $95 ; 149, dispose + push0 + lat temp[$2] + send $4 + bnot +code_0904: pushi $95 ; 149, dispose + push0 + lat temp[$3] + send $4 + bnot +code_090d: ldi $1 + sal local[$6] + pushi $50 ; 80, 'P', claimed + push1 + push1 + lap param[$1] + send $6 + bnot + sat temp[$0] + jmp code_096a + +code_091f: pushi $2b ; 43, '+', type + push0 + lap param[$1] + send $4 + bnot + push + ldi $1 + and + bnt code_096a + pushi $a3 ; 163, contains + push1 + lsp param[$1] + self $6 + bnot + bnt code_096a + pTos state + ldi $8 ; fixPriority + or + aTop state + pushi $57 ; 87, 'W', draw + push0 + self $4 + bnot + pushi $29 ; 41, ')', state + push1 + pushi $29 ; 41, ')', state + push0 + lofsa nameCharacter + send $4 + bnot + push + ldi $f7 ; 247, cat + and + push + pushi $57 ; 87, 'W', draw + push0 + lofsa nameCharacter + send $a + bnot + pushi $50 ; 80, 'P', claimed + push1 + push1 + lap param[$1] + send $6 + bnot + sat temp[$0] +code_096a: lat temp[$0] + ret + +titleCharacter::select: + ret + +makeCharacter_Page1::init: + link $c + pushi $94 ; 148, init + push0 + &rest $1 + super StaticRealmRoom, $4 + bnot + ldi $0 + sag global[$d3] + pushi $33 ; 51, '3', play + push1 + lofsa string_0559 ; "face.mid" + push + class MusicMgr + send $6 + bnot + pushi $2f4 ; 756, pConnected + push0 + lag global[$6a] + send $4 + bnot + not + bnt code_09a8 + lag global[$9e] + not + bnt code_09a8 + pushi $8d ; 141, new + push0 + class fNBody + send $4 + bnot + sag global[$9e] +code_09a8: ldi $0 + sal local[$6] + pushi $94 ; 148, init + push0 + lofsa nameView + send $4 + bnot + pushi $e ; 14, view + push1 + pushi $238d ; 9101 + pushi $f ; 15, loop + push1 + push0 + pushi $94 ; 148, init + push0 + pushi $db ; 219, moveTo + push2 + push1 + push0 + lofsa nameView + send $4 + bnot + push + pushi $3 ; z + pushi $238d ; 9101 + push1 + push0 + callk kernel_28, $6 + bnot + add + push + ldi $5 ; scaleY + add + push + pushi $50 ; 80, 'P', claimed + pushi $8d ; 141, new + push0 + class View + send $4 + bnot + sat temp[$8] + send $18 + bnot + pushi $94 ; 148, init + push0 + lofsa titleView + send $4 + bnot + pushi $e ; 14, view + push1 + pushi $238d ; 9101 + pushi $f ; 15, loop + push1 + push0 + pushi $94 ; 148, init + push0 + pushi $db ; 219, moveTo + push2 + push1 + push0 + lofsa titleView + send $4 + bnot + push + pushi $3 ; z + pushi $238d ; 9101 + push2 + push0 + callk kernel_28, $6 + bnot + add + push + ldi $5 ; scaleY + add + push + pushi $50 ; 80, 'P', claimed + pushi $8d ; 141, new + push0 + class View + send $4 + bnot + sat temp[$8] + send $18 + bnot + pushi $e ; 14, view + push1 + pushi $232c ; 9004 + pushi $f ; 15, loop + push1 + push0 + pushi $94 ; 148, init + push0 + pushi $8d ; 141, new + push0 + class View + send $4 + bnot + sat temp[$8] + send $10 + bnot + push2 + lst temp[$8] + pushi $14 ; 20, nsRight + calle export45011_0, $4 + bnot + pushi $e ; 14, view + push1 + pushi $2331 ; 9009 + pushi $f ; 15, loop + push1 + pushi $4 ; scaleX + pushi $94 ; 148, init + push0 + pushi $8d ; 141, new + push0 + class View + send $4 + bnot + sat temp[$8] + send $10 + bnot + push2 + lst temp[$8] + pushi $161 ; 353, lastCel + calle export45011_0, $4 + bnot + ldi $2 + sat temp[$a] + pushi $3 ; z + pushi $2332 ; 9010 + push0 + push0 + callk kernel_28, $6 + bnot + sat temp[$b] + pushi $27f ; 639, rename + push + lat temp[$a] + mul + sub + push + lst temp[$a] + ldi $1 + add + div + sat temp[$9] + pushi $8d ; 141, new + push0 + class Str + send $4 + bnot + sat temp[$1] + pushi $7 ; priority + push0 + pushi $afc8 ; -20536 + pushi $8 ; fixPriority + 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[$1] + pushi $94 ; 148, init + push0 + pushi $db ; 219, moveTo + push2 + lst temp[$9] + pushi $1b0 ; 432, prevDir + lofsa nextBtn + send $12 + bnot + pushi $8d ; 141, new + push0 + class Str + send $4 + bnot + sat temp[$1] + 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[$1] + pushi $94 ; 148, init + push0 + pushi $db ; 219, moveTo + push2 + lst temp[$9] + ldi $2 + mul + push + lat temp[$b] + add + push + pushi $1b0 ; 432, prevDir + lofsa mainBtn + send $12 + bnot + pushi $35c ; 860, getBase + push1 + class BCharacter + push + lag global[$9e] + send $6 + bnot + sat temp[$0] + pushi $d0 ; 208, with + push1 + pushi $35d ; 861, pProperName + push0 + send $4 + bnot + push + class Str + send $6 + bnot + sal local[$3] + pushi $d0 ; 208, with + push1 + pushi $4c7 ; 1223, pTitle + push0 + lat temp[$0] + send $4 + bnot + push + class Str + send $6 + bnot + sal local[$2] + pushi $4c5 ; 1221, pProfession + push0 + lat temp[$0] + send $4 + bnot + sal local[$4] + pushi $5a ; 90, 'Z', size + push0 + lal local[$2] + send $4 + bnot + push + ldi $0 + eq? + bnt code_0b96 + pushi $7 ; priority + push0 + pushi $afd8 ; -20520 + lsl local[$4] + ldi $1 + add + push + pushi $69 ; 105, 'i', hide + push0 + push1 + pushi $71 ; 113, 'q', data + push0 + lal local[$2] + send $4 + bnot + push + callk kernel_72, $e + bnot +code_0b96: pushi $25 ; 37, '%', fore + push1 + lsg global[$5c] + ldi $2 + add + push + pushi $23 ; 35, '#', text + push1 + lsl local[$3] + push1 + push1 + pushi $64 ; 100, 'd', moveDone + push2 + push1 + pushi $57 ; 87, 'W', draw + pushi $29 ; 41, ')', state + push1 + pushi $29 ; 41, ')', state + push0 + lofsa nameCharacter + send $4 + bnot + push + ldi $8 ; fixPriority + or + push + pushi $94 ; 148, init + push0 + lofsa nameCharacter + send $22 + bnot + pushi $25 ; 37, '%', fore + push1 + lsg global[$5c] + ldi $2 + add + push + pushi $23 ; 35, '#', text + push1 + lsl local[$2] + push1 + push1 + pushi $166 ; 358, dirLoop + push2 + push1 + pushi $57 ; 87, 'W', draw + pushi $29 ; 41, ')', state + push1 + pushi $29 ; 41, ')', state + push0 + lofsa titleCharacter + send $4 + bnot + push + ldi $f7 ; 247, cat + and + push + pushi $94 ; 148, init + push0 + lofsa titleCharacter + send $22 + bnot + pushi $e ; 14, view + push1 + pushi $238d ; 9101 + pushi $f ; 15, loop + push1 + pushi $5 ; scaleY + pushi $94 ; 148, init + push0 + pushi $db ; 219, moveTo + push2 + pushi $7d ; 125, '}', titleFont + pushi $f0 ; 240, drawSelected + pushi $8d ; 141, new + push0 + class View + send $4 + bnot + sat temp[$8] + send $18 + bnot + pushi $e ; 14, view + push1 + pushi $238d ; 9101 + pushi $f ; 15, loop + push1 + pushi $5 ; scaleY + pushi $94 ; 148, init + push0 + pushi $db ; 219, moveTo + push2 + pushi $207 ; 519, theObj + pushi $f0 ; 240, drawSelected + pushi $8d ; 141, new + push0 + class View + send $4 + bnot + sat temp[$8] + send $18 + bnot + ldi $0 + sat temp[$7] + ldi $0 + sat temp[$4] + ldi $0 + sat temp[$2] + ldi $0 + sat temp[$5] +code_0c56: lst temp[$5] + ldi $4 ; scaleX + lt? + bnt code_0d18 + lst temp[$5] + ldi $5 ; scaleY + eq? + bnt code_0c6e + ldi $0 + sat temp[$7] + ldi $82 ; 130, magPower + sat temp[$4] +code_0c6e: lst temp[$5] + ldi $a ; 10, inTop + eq? + bnt code_0c7e + ldi $0 + sat temp[$7] + ldi $104 ; 260, cueSelector + sat temp[$4] +code_0c7e: pushi $3 ; z + pushi $2332 ; 9010 + push0 + push0 + callk kernel_29, $6 + bnot + push + ldi $14 ; 20, nsRight + add + push + +at temp[$7] + mul + push + ldi $5a ; 90, 'Z', size + add + sat temp[$3] + pushi $8d ; 141, new + push0 + class Str + send $4 + bnot + sat temp[$1] + pushi $7 ; priority + push0 + pushi $afd8 ; -20520 + lst temp[$5] + ldi $1 + add + push + pushi $6 ; maxScale + push0 + push1 + pushi $71 ; 113, 'q', data + push0 + lat temp[$1] + send $4 + bnot + push + callk kernel_72, $e + bnot + pushi $1fa ; 506, makeRadioBtn + push1 + lofsa professionList + push + pushi $23 ; 35, '#', text + push1 + lat temp[$5] + lsli local[$7] + pushi $1c8 ; 456, helpStr + push1 + lst temp[$1] + pushi $51 ; 81, 'Q', value + push1 + push + pushi $1c7 ; 455, handler + push1 + lofsa profChanger + push + pushi $94 ; 148, init + push0 + pushi $8d ; 141, new + push0 + class CharButton + send $4 + bnot + sat temp[$6] + send $22 + bnot + push2 + lst temp[$6] + lst temp[$3] + calle export45011_0, $4 + bnot + lsl local[$4] + lat temp[$5] + eq? + bnt code_0d13 + pushi $1cb ; 459, choose + push0 + lat temp[$6] + send $4 + bnot + lat temp[$6] + sal local[$0] +code_0d13: +at temp[$5] + jmp code_0c56 + +code_0d18: 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_Page1::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 professionList + send $8 + bnot + sat temp[$0] + bnt code_0d6c + lsl local[$5] + ne? + bt code_0d5c + pushi $1bf ; 447, isHidden + push0 + lal local[$1] + send $4 + bnot +code_0d5c: bnt code_0d76 + push1 + lst temp[$0] + call code_0df0, $2 + bnot + lat temp[$0] + sal local[$5] + jmp code_0d76 + +code_0d6c: lal local[$1] + bnt code_0d76 + pushi $69 ; 105, 'i', hide + push0 + send $4 + bnot +code_0d76: pushi $45 ; 69, 'E', doit + push0 + &rest $1 + super StaticRealmRoom, $4 + bnot + ret + +makeCharacter_Page1::dispose: + lal local[$1] + bnt code_0d90 + pushi $95 ; 149, dispose + push0 + send $4 + bnot + ldi $0 + sal local[$1] +code_0d90: pushi $95 ; 149, dispose + push0 + lofsa nameCharacter + send $4 + bnot + pushi $95 ; 149, dispose + push0 + lal local[$3] + send $4 + bnot + pushi $95 ; 149, dispose + push0 + lofsa titleCharacter + send $4 + bnot + push1 + lsl local[$2] + calle export60000_0, $2 + bnot + bnt code_0dc2 + pushi $95 ; 149, dispose + push0 + lal local[$2] + send $4 + bnot +code_0dc2: lag global[$9e] + bnt code_0dcd + pushi $3c6 ; 966, deleteFromRoom + push0 + send $4 + bnot +code_0dcd: push1 + lofsa professionList + push + calle export60000_0, $2 + bnot + bnt code_0de5 + pushi $95 ; 149, dispose + push0 + lofsa professionList + send $4 + bnot +code_0de5: pushi $95 ; 149, dispose + push0 + &rest $1 + super StaticRealmRoom, $4 + bnot +code_0df0: ret + + lal local[$1] + bnt code_0dfc + pushi $95 ; 149, dispose + push0 + send $4 + bnot +code_0dfc: 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 $152 ; 338, xScaleAdj + calle export60029_0, $10 + bnot + sal local[$1] + ret + diff --git a/Script/Script45017.txt b/Script/Script45017.txt new file mode 100644 index 0000000..e62b115 --- /dev/null +++ b/Script/Script45017.txt @@ -0,0 +1,2290 @@ +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 + diff --git a/Script/Script45018.txt b/Script/Script45018.txt new file mode 100644 index 0000000..0a8fe33 --- /dev/null +++ b/Script/Script45018.txt @@ -0,0 +1,1211 @@ +export45018_0 = makeCharacter_Page4 + +prevBtn::doit: + link $1 + pushi $24e ; 590, handsOff + push0 + lag global[$2] + send $4 + bnot + pushi $35c ; 860, getBase + push1 + class BCharacter + push + lag global[$9e] + send $6 + bnot + sat temp[$0] + pushi $5a ; 90, 'Z', size + push0 + pushi $23 ; 35, '#', text + push0 + lofsa textField + send $4 + bnot + send $4 + bnot + bnt code_0091 + pushi $4ca ; 1226, setBiography + push1 + pushi $23 ; 35, '#', text + push0 + lofsa textField + send $4 + bnot + push + lat temp[$0] + send $6 + bnot + jmp code_009e + +code_0091: pushi $4ca ; 1226, setBiography + push1 + lofsa string_0359 ; "" + push + lat temp[$0] + send $6 + bnot +code_009e: ldi $afd9 ; -20519 + sag global[$36] + ret + +mainBtn::doit: + pushi $7 ; priority + lofsa string_0367 ; "Warning! Your character will not be saved!\n" + push + pushi $77 ; 119, 'w', textTop + lofsa string_03c7 ; "Yes" + push + push1 + pushi $77 ; 119, 'w', textTop + lofsa string_03cb ; "No" + push + push0 + calle export60029_0, $e + bnot + bnt code_00e8 + pushi $24e ; 590, handsOff + push0 + lag global[$2] + send $4 + bnot + push1 + lsg global[$a0] + calle export60000_0, $2 + bnot + bnt code_00e3 + pushi $95 ; 149, dispose + push0 + lag global[$a0] + send $4 + bnot + ldi $0 + sag global[$a0] +code_00e3: ldi $afd6 ; -20522 + sag global[$36] +code_00e8: ret + +saveBtn::doit: + link $1 + pushi $24e ; 590, handsOff + push0 + lag global[$2] + send $4 + bnot + pushi $35c ; 860, getBase + push1 + class BCharacter + push + lag global[$9e] + send $6 + bnot + sat temp[$0] + pushi $5a ; 90, 'Z', size + push0 + pushi $23 ; 35, '#', text + push0 + lofsa textField + send $4 + bnot + send $4 + bnot + bnt code_0128 + pushi $4ca ; 1226, setBiography + push1 + pushi $23 ; 35, '#', text + push0 + lofsa textField + send $4 + bnot + push + lat temp[$0] + send $6 + bnot + jmp code_0135 + +code_0128: pushi $4ca ; 1226, setBiography + push1 + lofsa string_0359 ; "" + push + lat temp[$0] + send $6 + bnot +code_0135: pushi $c9 ; 201, setScript + push1 + pushi $8d ; 141, new + push0 + lofsa CreateCharacter + send $4 + bnot + push + lag global[$3] + send $6 + bnot + ret + +textField::init: + pToa text + not + bnt code_015a + pushi $8d ; 141, new + push0 + class Str + send $4 + bnot + aTop text +code_015a: pTos state + ldi $8 ; fixPriority + or + aTop state + pushi $94 ; 148, init + push0 + &rest $1 + super EditItem, $4 + bnot + ret + +textField::drawSelected: + ret + +makeCharacter_Page4::init: + link $9 + pushi $94 ; 148, init + push0 + &rest $1 + super StaticRealmRoom, $4 + bnot + ldi $0 + sag global[$d3] + ldi $0 + sag global[$c8] + pushi $2f4 ; 756, pConnected + push0 + lag global[$6a] + send $4 + bnot + not + bnt code_019f + lag global[$9e] + not + bnt code_019f + pushi $8d ; 141, new + push0 + class fNBody + send $4 + bnot + sag global[$9e] +code_019f: ldi $3 ; z + sat temp[$5] + pushi $3 ; z + pushi $2332 ; 9010 + push0 + push0 + callk kernel_28, $6 + bnot + sat temp[$6] + pushi $27f ; 639, rename + push + lat temp[$5] + mul + sub + push + lst temp[$5] + ldi $1 + add + div + sat temp[$4] + pushi $8d ; 141, new + push0 + class Str + send $4 + bnot + sat temp[$1] + 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[$1] + pushi $94 ; 148, init + push0 + pushi $db ; 219, moveTo + push2 + lst temp[$4] + pushi $1b0 ; 432, prevDir + lofsa prevBtn + send $12 + bnot + pushi $8d ; 141, new + push0 + class Str + send $4 + bnot + sat temp[$1] + pushi $7 ; priority + push0 + pushi $afc8 ; -20536 + push1 + 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[$1] + pushi $94 ; 148, init + push0 + pushi $db ; 219, moveTo + push2 + lst temp[$4] + ldi $2 + mul + push + lat temp[$6] + add + push + pushi $1b0 ; 432, prevDir + lofsa saveBtn + send $12 + bnot + pushi $37d ; 893, servIDEquals + push2 + pushi $ff ; 255, asInteger + dup + lag global[$9e] + send $8 + bnot + bnt code_0259 + pushi $1b4 ; 436, enable + push2 + push1 + push0 + lofsa saveBtn + send $8 + bnot + jmp code_0265 + +code_0259: pushi $1b4 ; 436, enable + push2 + push0 + push1 + lofsa saveBtn + send $8 + bnot +code_0265: pushi $8d ; 141, new + push0 + class Str + send $4 + bnot + sat temp[$1] + 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[$1] + pushi $94 ; 148, init + push0 + pushi $db ; 219, moveTo + push2 + lst temp[$4] + ldi $3 ; z + mul + push + lst temp[$6] + ldi $2 + mul + add + push + pushi $1b0 ; 432, prevDir + lofsa mainBtn + send $12 + bnot + pushi $e ; 14, view + push1 + pushi $2330 ; 9008 + pushi $f ; 15, loop + push1 + push0 + pushi $94 ; 148, init + push0 + pushi $8d ; 141, new + push0 + class View + send $4 + bnot + sat temp[$2] + send $10 + bnot + push2 + lst temp[$2] + pushi $a ; 10, inTop + 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[$3] + send $10 + bnot + push2 + lst temp[$3] + pushi $50 ; 80, 'P', claimed + calle export45011_0, $4 + bnot + pushi $d0 ; 208, with + push1 + lofsa string_03ed ; "Please enter any personal information about your character." + push + class Str + send $6 + bnot + sat temp[$1] + 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[$7] + pushi $25 ; 37, '%', fore + push1 + pushi $1a ; 26, signal + pushi $23 ; 35, '#', text + push1 + lst temp[$1] + pushi $2a ; 42, '*', font + push1 + pushi $14 ; 20, nsRight + pushi $1be ; 446, setSize + push1 + push + pushi $db ; 219, moveTo + push2 + pushi $13f ; 319, putString + push + ldi $2 + div + sub + push + ldi $5 ; scaleY + add + push + pushi $73 ; 115, 's', center + pushi $94 ; 148, init + push0 + pushi $8d ; 141, new + push0 + class TextItem + send $4 + bnot + sat temp[$8] + send $24 + 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 + sat temp[$3] + send $10 + bnot + push2 + lst temp[$3] + pushi $17c ; 380, isNotHidden + calle export45011_0, $4 + bnot + pushi $e ; 14, view + push1 + pushi $2330 ; 9008 + pushi $f ; 15, loop + push1 + push1 + pushi $94 ; 148, init + push0 + pushi $8d ; 141, new + push0 + class View + send $4 + bnot + sat temp[$3] + send $10 + bnot + push2 + lst temp[$3] + pushi $94 ; 148, init + calle export45011_0, $4 + bnot + pushi $35c ; 860, getBase + push1 + class BCharacter + push + lag global[$9e] + send $6 + bnot + sat temp[$0] + pushi $4c8 ; 1224, pBiography + push0 + send $4 + bnot + not + bnt code_03cf + pushi $4ca ; 1226, setBiography + push1 + lofsa string_0359 ; "" + push + lat temp[$0] + send $6 + bnot +code_03cf: pushi $d0 ; 208, with + push1 + pushi $4c8 ; 1224, pBiography + push0 + lat temp[$0] + send $4 + bnot + push + class Str + send $6 + bnot + sat temp[$1] + pushi $23 ; 35, '#', text + push1 + push + pushi $94 ; 148, init + push0 + lofsa textField + send $a + 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 + +nameCharacter::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 + +nameCharacter::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 + +nameCharacter::dispose: + ldi $0 + aTop text + pushi $95 ; 149, dispose + push0 + &rest $1 + super EditItem, $4 + bnot + ret + +nameCharacter::validKey: + pushi $7c ; 124, '|', titleBack + lap param[$1] + ne? + bnt code_047f + push1 + lsp param[$1] + calle export60027_5, $2 + bnot + bnt code_047f + push1 + lsp param[$1] + calle export60027_7, $2 + bnot + not + bnt code_047f + push1 + lsp param[$1] + calle export60027_2, $2 + bnot + not +code_047f: bt code_04a9 + 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_04a9: ret + +RepromptName::changeState: + link $2 + lap param[$1] + aTop state + push + dup + ldi $0 + eq? + bnt code_052c + pushi $276 ; 630, handsOn + push0 + lag global[$2] + send $4 + bnot + pushi $35c ; 860, getBase + push1 + class BCharacter + push + lag global[$1] + send $6 + bnot + sat temp[$1] + pushi $f5 ; 245, format + pushi $4 ; scaleX + lofsa string_044b ; "%c%s%c is already in use.\n" + push + pushi $22 ; 34, '"', time + pushi $35d ; 861, pProperName + push0 + lat temp[$1] + send $4 + bnot + push + pushi $22 ; 34, '"', time + class Str + send $c + bnot + sat temp[$0] + pushi $12 ; 18, nsLeft + push + pushi $81 ; 129, magnifier + pushi $8d ; 141, new + push0 + lofsa nameCharacter + send $4 + bnot + aTop scratch + push + pushi $fdf5 ; -523 + lsg global[$55] + pushi $8b ; 139, numLines + push1 + pushi $77 ; 119, 'w', textTop + lofsa string_0483 ; " OK " + push + push1 + pushi $77 ; 119, 'w', textTop + lofsa string_0488 ; "Cancel" + push + push0 + pushi $93 ; 147, pLine + pushSelf + pushi $c8 ; 200, handleEvent + pushi $91 ; 145, bitPutIndex + push2 + calle export60029_0, $24 + bnot + jmp code_0557 + +code_052c: dup + ldi $1 + eq? + bnt code_0557 + pushi $24e ; 590, handsOff + push0 + lag global[$2] + send $4 + bnot + push1 + pTos scratch + calle export60000_0, $2 + bnot + bnt code_0550 + pushi $95 ; 149, dispose + push0 + pToa scratch + send $4 + bnot +code_0550: pushi $95 ; 149, dispose + push0 + self $4 + bnot +code_0557: toss + ret + +RepromptName::handleEvent: + link $1 + lap param[$0] + bnt code_0631 + pushi $35c ; 860, getBase + push1 + class BCharacter + push + lag global[$1] + send $6 + bnot + sat temp[$0] + lsp param[$1] + dup + ldi $0 + eq? + bnt code_05a0 + push1 + pTos scratch + calle export60000_0, $2 + bnot + bnt code_058b + pushi $95 ; 149, dispose + push0 + pToa scratch + send $4 + bnot +code_058b: pushi $24e ; 590, handsOff + push0 + lag global[$2] + send $4 + bnot + ldi $afd6 ; -20522 + sag global[$36] + ldi $0 + aTop caller + jmp code_062b + +code_05a0: dup + ldi $1 + eq? + bnt code_0618 + push2 + pushi $a ; 10, inTop + pushi $71 ; 113, 'q', data + push0 + pushi $23 ; 35, '#', text + push0 + pToa scratch + send $4 + bnot + send $4 + bnot + push + callk kernel_92, $4 + bnot + push1 + lofsa nameCharacter + push + calle export60000_0, $2 + bnot + bnt code_060b + pushi $5a ; 90, 'Z', size + push0 + pushi $23 ; 35, '#', text + push0 + pToa scratch + send $4 + bnot + send $4 + bnot + push + ldi $0 + gt? + bnt code_060b + pushi $ae ; 174, indexOf + push1 + pushi $2a ; 42, '*', font + pushi $23 ; 35, '#', text + push0 + pToa scratch + send $4 + bnot + send $6 + bnot + push + ldi $0 + ge? + not + bnt code_060b + pushi $35d ; 861, pProperName + push1 + pushi $23 ; 35, '#', text + push0 + pToa scratch + send $4 + bnot + push + lat temp[$0] + send $6 + bnot + jmp code_062b + +code_060b: pushi $24e ; 590, handsOff + push0 + lag global[$2] + send $4 + bnot + dpToa state + jmp code_062b + +code_0618: pushi $3 ; z + lofsa string_048f ; "Error in name entry!\n" + push + pushi $77 ; 119, 'w', textTop + lofsa string_04b6 ; "Okay" + push + calle export60029_0, $6 + bnot +code_062b: toss + ldi $1 + aTop cycles + ret + +code_0631: ret + +CreateCharacter::handleError: + link $3 + ldi $0 + sat temp[$0] + ldi $0 + sat temp[$1] + pushi $f5 ; 245, format + push1 + lofsa string_04c8 ; "Unable to create character." + push + class Str + send $6 + bnot + sat temp[$1] + lsp param[$1] + lag global[$6a] + eq? + bnt code_06fb + pTos state + ldi $0 + eq? + bnt code_0667 + pushi $95 ; 149, dispose + push0 + lag global[$9e] + send $4 + bnot + lag global[$1] + sag global[$9e] +code_0667: lsp param[$3] + dup + ldi $271e ; 10014 + eq? + bnt code_0682 + pushi $f5 ; 245, format + push1 + lofsa string_04e4 ; "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_06fa + +code_0682: dup + ldi $2716 ; 10006 + eq? + bnt code_069b + pushi $f5 ; 245, format + push1 + lofsa string_05f3 ; "Data Error: Server process unavailable.\n" + push + class Str + send $6 + bnot + sat temp[$0] + jmp code_06fa + +code_069b: dup + ldi $2714 ; 10004 + eq? + bnt code_06b3 + pushi $f5 ; 245, format + push1 + lofsa string_061c ; "Data Error: Object data not found.\n" + push + class Str + send $6 + bnot + sat temp[$0] + jmp code_06fa + +code_06b3: dup + ldi $2711 ; 10001 + eq? + bnt code_06eb + pushi $271 ; 625, handsLevel + push0 + lag global[$2] + send $4 + bnot + not + bnt code_06cf + pushi $24e ; 590, handsOff + push0 + lag global[$2] + send $4 + bnot +code_06cf: pushi $c9 ; 201, setScript + push2 + pushi $8d ; 141, new + push0 + lofsa RepromptName + send $4 + bnot + push + pushSelf + self $8 + bnot + pTos start + ldi $1 + sub + aTop state + jmp code_06fa + +code_06eb: pushi $f5 ; 245, format + push1 + lofsa string_0640 ; "Data Error: Unknown.\n" + push + class Str + send $6 + bnot + sat temp[$0] +code_06fa: toss +code_06fb: lat temp[$0] + bnt code_072c + pushi $6 ; maxScale + pushi $f7 ; 247, cat + push1 + lst temp[$1] + send $6 + bnot + push + pushi $65 ; 101, 'e', topString + push1 + pushi $77 ; 119, 'w', textTop + lofsa string_04b6 ; "Okay" + push + push0 + calle export60029_0, $c + bnot + pushi $95 ; 149, dispose + push0 + lat temp[$0] + send $4 + bnot + pushi $95 ; 149, dispose + push0 + self $4 + bnot +code_072c: pushi $95 ; 149, dispose + push0 + lat temp[$1] + send $4 + bnot + ret + +CreateCharacter::changeState: + link $3 + lap param[$1] + aTop state + push + dup + ldi $0 + eq? + bnt code_07ca + 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 $35d ; 861, pProperName + push1 + push1 + pushi $35d ; 861, pProperName + push0 + send $4 + bnot + push + calle export60027_14, $2 + bnot + push + lat temp[$1] + send $6 + bnot + pushi $5a2 ; 1442, createCharacter + pushi $9 ; inLeft + lsg global[$9e] + pushi $35d ; 861, pProperName + push0 + lat temp[$1] + 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 + lag global[$1] + send $4 + bnot + push + lsg global[$1] + pushSelf + lag global[$6a] + send $16 + bnot + jmp code_089d + +code_07ca: dup + ldi $1 + eq? + bnt code_07e3 + pushi $5a8 ; 1448, setHeadData + pushi $3 ; z + lsg global[$9e] + lsg global[$1] + pushSelf + lag global[$6a] + send $a + bnot + jmp code_089d + +code_07e3: dup + ldi $2 + eq? + bnt code_081a + pushi $d0 ; 208, with + push1 + pushi $4c8 ; 1224, pBiography + push0 + pushi $35c ; 860, getBase + push1 + class BCharacter + push + lag global[$1] + send $6 + bnot + send $4 + bnot + push + class Str + send $6 + bnot + sat temp[$0] + pushi $4ca ; 1226, setBiography + pushi $3 ; z + lsg global[$9e] + push + pushSelf + lag global[$6a] + send $a + bnot + jmp code_089d + +code_081a: dup + ldi $3 ; z + eq? + bnt code_0857 + pushi $4ca ; 1226, setBiography + push1 + pushi $d0 ; 208, with + push1 + pushi $4c8 ; 1224, pBiography + push0 + pushi $35c ; 860, getBase + push1 + class BCharacter + push + lag global[$1] + send $6 + bnot + send $4 + bnot + push + class Str + send $6 + 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_089d + +code_0857: dup + ldi $4 ; scaleX + eq? + bnt code_086e + pushi $9f ; 159, add + push1 + lsg global[$9e] + class StockCharacters + send $6 + bnot + ldi $1 + aTop cycles + jmp code_089d + +code_086e: dup + ldi $5 ; scaleY + eq? + bnt code_0887 + pushi $95 ; 149, dispose + push0 + lag global[$1] + send $4 + bnot + ldi $0 + sag global[$1] + ldi $1 + aTop cycles + jmp code_089d + +code_0887: dup + ldi $6 ; maxScale + eq? + bnt code_089d + ldi $1 + sag global[$c8] + ldi $afd6 ; -20522 + sag global[$36] + pushi $95 ; 149, dispose + push0 + self $4 + bnot +code_089d: toss + ret + diff --git a/Script/Script45020.txt b/Script/Script45020.txt new file mode 100644 index 0000000..fbd595e --- /dev/null +++ b/Script/Script45020.txt @@ -0,0 +1,741 @@ +BreakStrIntoList::doit: + link $9 + pushi $d0 ; 208, with + push1 + lsp param[$1] + class Str + send $6 + bnot + sat temp[$0] + pushi $5a ; 90, 'Z', size + push0 + send $4 + bnot + push + ldi $1 + sub + sat temp[$8] + ldi $0 + sat temp[$5] +code_00a1: ldi $1 + bnt code_0179 + pushi $4 ; scaleX + dup + pushi $71 ; 113, 'q', data + push0 + lat temp[$0] + send $4 + bnot + push + lsp param[$2] + lsg global[$3a] + callk kernel_70, $8 + bnot + sat temp[$3] + not + bnt code_00c2 + jmp code_0179 + +code_00c2: lst temp[$8] + lat temp[$3] + sub + sat temp[$8] + pushi $d2 ; 210, copyToFrom + pushi $4 ; scaleX + push0 + lst temp[$0] + push0 + lst temp[$3] + pushi $8d ; 141, new + push0 + class Str + send $4 + bnot + sat temp[$2] + send $c + bnot + pushi $4b ; 75, 'K', at + push2 + lst temp[$3] + push0 + lat temp[$2] + send $8 + bnot + pushi $9f ; 159, add + push1 + lst temp[$2] + lap param[$3] + send $6 + bnot + pushi $d7 ; 215, move + pushi $3 ; z + push0 + lst temp[$3] + pushi $ff ; 255, asInteger + lat temp[$0] + send $a + bnot +code_0109: pushi $4b ; 75, 'K', at + push1 + push0 + lat temp[$0] + send $6 + bnot + push + ldi $20 ; 32, ' ', name + eq? + bnt code_0129 + pushi $d7 ; 215, move + pushi $3 ; z + push0 + push1 + pushi $ff ; 255, asInteger + lat temp[$0] + send $a + bnot + jmp code_0109 + +code_0129: lst temp[$8] + ldi $0 + gt? + bnt code_00a1 + pushi $4 ; scaleX + dup + pushi $71 ; 113, 'q', data + push0 + lat temp[$2] + send $4 + bnot + push + lsp param[$2] + lsg global[$3a] + callk kernel_70, $8 + bnot + push1 + pushi $5 ; scaleY + callk kernel_70, $2 + bnot + sat temp[$4] + pushi $f5 ; 245, format + pushi $3 ; z + lofsa string_0099 ; "|c%d|%s" + push + lst temp[$4] + lst temp[$0] + class Str + send $a + bnot + sat temp[$6] + pushi $d3 ; 211, copy + push1 + push + lat temp[$0] + send $6 + bnot + pushi $95 ; 149, dispose + push0 + lat temp[$6] + send $4 + bnot + jmp code_00a1 + +code_0179: pushi $95 ; 149, dispose + push0 + lat temp[$0] + send $4 + bnot + ret + +FastScrollWindow::init: + pushi $8d ; 141, new + push0 + class List + send $4 + bnot + aTop pTextList + pushi $94 ; 148, init + push0 + &rest $1 + super BitMap, $4 + bnot + pushi $9f ; 159, add + push1 + pushSelf + lag global[$27] + send $6 + bnot + ret + +FastScrollWindow::dispose: + pushi $58 ; 88, 'X', delete + push1 + pushSelf + lag global[$27] + send $6 + bnot + pToa pTextList + bnt code_01bb + pushi $95 ; 149, dispose + push0 + send $4 + bnot + ldi $0 + aTop pTextList +code_01bb: pushi $95 ; 149, dispose + push0 + &rest $1 + super BitMap, $4 + bnot + ret + +FastScrollWindow::clear: + pToa pTextList + bnt code_01dd + pushi $9d ; 157, eachElementDo + push1 + pushi $95 ; 149, dispose + send $6 + bnot + pushi $a6 ; 166, release + push0 + pToa pTextList + send $4 + bnot +code_01dd: pToa bitmap + bnt code_0205 + pushi $7 ; priority + pushi $5 ; scaleY + push + push0 + push0 + pushi $4e ; 78, 'N', width + push0 + self $4 + bnot + push + ldi $1 + sub + push + pushi $e1 ; 225, height + push0 + self $4 + bnot + push + ldi $1 + sub + push + lsg global[$54] + callk kernel_35, $e + bnot +code_0205: ret + +FastScrollWindow::draw: + link $5 + pToa bitmap + not + bnt code_0230 + pushi $5 ; scaleY + push0 + pushi $4e ; 78, 'N', width + push0 + self $4 + bnot + push + pushi $e1 ; 225, height + push0 + self $4 + bnot + push + pushi $fe ; 254, strIndex + lsg global[$54] + callk kernel_35, $a + bnot + aTop bitmap + push1 + pushSelf + callk kernel_30, $2 + bnot +code_0230: pushi $7 ; priority + pushi $5 ; scaleY + pTos bitmap + push0 + push0 + pushi $4e ; 78, 'N', width + push0 + self $4 + bnot + push + ldi $1 + sub + push + pushi $e1 ; 225, height + push0 + self $4 + bnot + push + ldi $1 + sub + push + lsg global[$54] + callk kernel_35, $e + bnot + pTos pStartOverride + ldi $1 + eq? + bnt code_029e + pTos pIndex + ldi $0 + lt? + bnt code_0267 + ldi $0 + aTop pIndex +code_0267: pToa pIndex + sat temp[$1] + push + pToa pNumLines + add + sat temp[$4] + push + pushi $5a ; 90, 'Z', size + push0 + pToa pTextList + send $4 + bnot + gt? + bnt code_0287 + pushi $5a ; 90, 'Z', size + push0 + pToa pTextList + send $4 + bnot + sat temp[$4] +code_0287: pTos pNumLines + pushi $5a ; 90, 'Z', size + push0 + pToa pTextList + send $4 + bnot + push + pToa pIndex + sub + eq? + bnt code_02ae + ldi $0 + aTop pStartOverride + jmp code_02ae + +code_029e: pToa pStart + aTop pIndex + sat temp[$1] + pushi $5a ; 90, 'Z', size + push0 + pToa pTextList + send $4 + bnot + sat temp[$4] +code_02ae: ldi $0 + sat temp[$2] +code_02b2: lst temp[$1] + lat temp[$4] + lt? + bnt code_02fe + pushi $4b ; 75, 'K', at + push1 + lst temp[$1] + pToa pTextList + send $6 + bnot + sat temp[$3] + pushi $e ; 14, view + pushi $4 ; scaleX + pTos bitmap + pushi $71 ; 113, 'q', data + push0 + send $4 + bnot + push + push0 + lst temp[$2] + pushi $4e ; 78, 'N', width + push0 + self $4 + bnot + push + lst temp[$2] + ldi $c ; 12, inBottom + add + push + pushi $ff ; 255, asInteger + push0 + pushi $f0 ; 240, drawSelected + lsg global[$3a] + push0 + pushi $ff ; 255, asInteger + push0 + callk kernel_35, $1c + bnot + lst temp[$2] + ldi $c ; 12, inBottom + add + sat temp[$2] + +at temp[$1] + jmp code_02b2 + +code_02fe: push1 + pushSelf + callk kernel_32, $2 + bnot + ret + +FastScrollWindow::add: + link $1 + pushi $45 ; 69, 'E', doit + pushi $3 ; z + lsp param[$1] + pushi $4e ; 78, 'N', width + push0 + self $4 + bnot + push + pTos pTextList + lofsa BreakStrIntoList + send $a + bnot +code_031d: pushi $5a ; 90, 'Z', size + push0 + pToa pTextList + send $4 + bnot + push + pToa pBufferSize + gt? + bnt code_034a + pushi $4b ; 75, 'K', at + push1 + push0 + pToa pTextList + send $6 + bnot + sat temp[$0] + pushi $58 ; 88, 'X', delete + push1 + push + pToa pTextList + send $6 + bnot + pushi $95 ; 149, dispose + push0 + lat temp[$0] + send $4 + bnot + jmp code_031d + +code_034a: pTos pIndex + ldi $0 + ne? + bnt code_0361 + pushi $5a ; 90, 'Z', size + push0 + pToa pTextList + send $4 + bnot + push + pToa pBufferSize + eq? + bnt code_0361 + dpToa pIndex +code_0361: pushi $5a ; 90, 'Z', size + push0 + pToa pTextList + send $4 + bnot + push + pToa pNumLines + sub + aTop pStart + pTos pStart + ldi $0 + lt? + bnt code_037a + ldi $0 + aTop pStart +code_037a: ret + +FastScrollWindow::handleEvent: + link $1 + pushi $2b ; 43, '+', type + push0 + lap param[$1] + send $4 + bnot + push + ldi $4 ; scaleX + and + bnt code_0545 + pushi $31 ; 49, '1', message + push0 + lap param[$1] + send $4 + bnot + push + dup + ldi $4700 ; 18176 + eq? + bnt code_03e8 + pushi $5a ; 90, 'Z', size + push0 + pushi $23 ; 35, '#', text + push0 + push2 + pushi $a410 ; -23536 + pushi $4 ; scaleX + callk kernel_2, $4 + bnot + send $4 + bnot + send $4 + bnot + not + bnt code_0511 + pushi $50 ; 80, 'P', claimed + push1 + push1 + lap param[$1] + send $6 + bnot + ldi $0 + aTop pIndex + ldi $1 + aTop pStartOverride + pushi $57 ; 87, 'W', draw + push0 + self $4 + bnot + pushi $5a ; 90, 'Z', size + push0 + pToa pTextList + send $4 + bnot + push + pToa pNumLines + gt? + bnt code_0511 + pushi $351 ; 849, newLinesShow + push0 + lag global[$6] + send $4 + bnot + jmp code_0511 + +code_03e8: dup + ldi $4f00 ; 20224 + eq? + bnt code_042a + pushi $5a ; 90, 'Z', size + push0 + pushi $23 ; 35, '#', text + push0 + push2 + pushi $a410 ; -23536 + pushi $4 ; scaleX + callk kernel_2, $4 + bnot + send $4 + bnot + send $4 + bnot + not + bnt code_0511 + pushi $50 ; 80, 'P', claimed + push1 + push1 + lap param[$1] + send $6 + bnot + ldi $0 + aTop pIndex + aTop pStartOverride + pushi $57 ; 87, 'W', draw + push0 + self $4 + bnot + pushi $352 ; 850, newLinesHide + push0 + lag global[$6] + send $4 + bnot + jmp code_0511 + +code_042a: dup + ldi $4900 ; 18688 + eq? + bnt code_0460 + pTos pIndex + pToa pNumLines + sub + aTop pIndex + push + ldi $0 + lt? + bnt code_0442 + ldi $0 + aTop pIndex +code_0442: pTos pIndex + pushi $5a ; 90, 'Z', size + push0 + pToa pTextList + send $4 + bnot + push + pToa pNumLines + sub + lt? + bnt code_0511 + pushi $351 ; 849, newLinesShow + push0 + lag global[$6] + send $4 + bnot + jmp code_0511 + +code_0460: dup + ldi $5100 ; 20736 + eq? + bnt code_04a5 + pushi $5a ; 90, 'Z', size + push0 + pToa pTextList + send $4 + bnot + push + pToa pNumLines + sub + sat temp[$0] + pTos pIndex + pToa pNumLines + add + aTop pIndex + push + lat temp[$0] + gt? + bnt code_0491 + lat temp[$0] + aTop pIndex + pTos pIndex + ldi $0 + lt? + bnt code_0491 + ldi $0 + aTop pIndex +code_0491: pTos pIndex + lat temp[$0] + ge? + bnt code_0511 + pushi $352 ; 850, newLinesHide + push0 + lag global[$6] + send $4 + bnot + jmp code_0511 + +code_04a5: dup + ldi $4800 ; 18432 + eq? + bnt code_04d4 + dpToa pIndex + push + ldi $0 + lt? + bnt code_04b8 + ldi $0 + aTop pIndex +code_04b8: pTos pIndex + pushi $5a ; 90, 'Z', size + push0 + pToa pTextList + send $4 + bnot + push + pToa pNumLines + sub + lt? + bnt code_0511 + pushi $351 ; 849, newLinesShow + push0 + lag global[$6] + send $4 + bnot + jmp code_0511 + +code_04d4: dup + ldi $5000 ; 20480 + eq? + bnt code_0511 + ipToa pIndex + push + pushi $5a ; 90, 'Z', size + push0 + pToa pTextList + send $4 + bnot + ge? + bnt code_04f7 + pushi $5a ; 90, 'Z', size + push0 + pToa pTextList + send $4 + bnot + push + ldi $1 + sub + aTop pIndex +code_04f7: pTos pIndex + pushi $5a ; 90, 'Z', size + push0 + pToa pTextList + send $4 + bnot + push + pToa pNumLines + sub + ge? + bnt code_0511 + pushi $352 ; 850, newLinesHide + push0 + lag global[$6] + send $4 + bnot +code_0511: toss + pushi $5 ; scaleY + pushi $31 ; 49, '1', message + push0 + lap param[$1] + send $4 + bnot + push + pushi $4900 ; 18688 + pushi $5100 ; 20736 + pushi $4800 ; 18432 + pushi $5000 ; 20480 + calle export60025_4, $a + bnot + bnt code_0545 + pushi $50 ; 80, 'P', claimed + push1 + push1 + lap param[$1] + send $6 + bnot + ldi $1 + aTop pStartOverride + pushi $57 ; 87, 'W', draw + push0 + self $4 + bnot +code_0545: pushi $50 ; 80, 'P', claimed + push0 + lap param[$1] + send $4 + bnot + ret + diff --git a/Script/Script45021.txt b/Script/Script45021.txt new file mode 100644 index 0000000..531c063 --- /dev/null +++ b/Script/Script45021.txt @@ -0,0 +1,32 @@ +CWindowPage::handleEvent: + link $1 + ret + +CWindowPage::init: + pushi $24e ; 590, handsOff + push0 + lag global[$2] + send $4 + bnot + pushi $94 ; 148, init + push0 + &rest $1 + super Obj, $4 + bnot + pushi $9f ; 159, add + push1 + pushSelf + class WinDialogSet + send $6 + bnot + ret + +CWindowPage::dispose: + pushi $58 ; 88, 'X', delete + push1 + pushSelf + class WinDialogSet + send $6 + bnot + ret +