CD edition, script 32 - project::changeState() 0055:01d1: 3f 01 link 01 0055:01d3: 87 01 lap 01 0055:01d5: 65 16 aTop state[16] 0055:01d7: 36 push 0055:01d8: 3c dup 0055:01d9: 35 00 ldi 00 (case 0) 0055:01db: 1a eq? 0055:01dc: 31 28 bnt 28 [0206] 0055:01de: 7a push2 0055:01df: 89 46 lsg 46 ; 70, 'F' 0055:01e1: 89 47 lsg 47 ; 71, 'G' 0055:01e3: 35 0a ldi 0a ; 10 0055:01e5: 04 sub 0055:01e6: 36 push 0055:01e7: 45 0c 04 00 callb 0c ; 12 0004 0055:01eb: 38 18 02 pushi 0218 ; 536, handsOff 0055:01ee: 76 push0 0055:01ef: 81 01 lag 01 0055:01f1: 4a 04 00 send 0004 0055:01f4: 39 04 pushi 04 ; scaleX 0055:01f6: 89 00 lsg 00 0055:01f8: 88 b9 01 lsg 01b9 ; 441 0055:01fb: 88 ba 01 lsg 01ba ; 442 0055:01fe: 7c pushSelf 0055:01ff: 45 0a 08 00 callb 0a ; 10 0008 0055:0203: 32 09 03 jmp 0309 [050f] (end the switch) 0055:0206: 3c dup 0055:0207: 35 01 ldi 01 (case 1) 0055:0209: 1a eq? 0055:020a: 30 0f 01 bnt 010f [031c] (next case) 0055:020d: 67 26 pTos register[26] 0055:020f: 35 24 ldi 24 ; 36, '$' 0055:0211: 1a eq? 0055:0212: 31 04 bnt 04 [0218] 0055:0214: 35 25 ldi 25 ; 37, '%' 0055:0216: 65 26 aTop register[26] 0055:0218: 39 43 pushi 43 ; 67, 'C', heading 0055:021a: 76 push0 0055:021b: 81 00 lag 00 0055:021d: 4a 04 00 send 0004 0055:0220: a3 03 sal 03 0055:0222: 39 0f pushi 0f ; 15, loop 0055:0224: 76 push0 0055:0225: 81 00 lag 00 0055:0227: 4a 04 00 send 0004 0055:022a: a3 00 sal 00 0055:022c: 38 42 01 pushi 0142 ; 322, setMotion 0055:022f: 78 push1 0055:0230: 76 push0 0055:0231: 81 00 lag 00 0055:0233: 4a 06 00 send 0006 0055:0236: 39 0e pushi 0e ; 14, view 0055:0238: 78 push1 0055:0239: 67 26 pTos register[26] 0055:023b: 35 4b ldi 4b ; 75, 'K' 0055:023d: 22 lt? 0055:023e: 31 04 bnt 04 [0244] 0055:0240: 35 09 ldi 09 0055:0242: 33 28 jmp 28 [026c] 0055:0244: 39 0e pushi 0e ; 14, view 0055:0246: 76 push0 0055:0247: 81 00 lag 00 0055:0249: 4a 04 00 send 0004 0055:024c: 36 push 0055:024d: 35 11 ldi 11 ; 17 0055:024f: 1e gt? 0055:0250: 31 0e bnt 0e [0260] 0055:0252: 39 0e pushi 0e ; 14, view 0055:0254: 76 push0 0055:0255: 81 00 lag 00 0055:0257: 4a 04 00 send 0004 0055:025a: 36 push 0055:025b: 35 15 ldi 15 ; 21 0055:025d: 22 lt? 0055:025e: 31 00 bnt 00 [0260] 0055:0260: 36 push 0055:0261: 35 01 ldi 01 0055:0263: 1a eq? 0055:0264: 31 04 bnt 04 [026a] 0055:0266: 35 12 ldi 12 ; 18 0055:0268: 33 02 jmp 02 [026c] 0055:026a: 35 0e ldi 0e ; 14 0055:026c: 36 push 0055:026d: 39 0f pushi 0f ; 15, loop 0055:026f: 78 push1 0055:0270: 76 push0 0055:0271: 83 03 lal 03 0055:0273: 24 le? 0055:0274: 31 0c bnt 0c [0282] 0055:0276: 60 pprev 0055:0277: 35 55 ldi 55 ; 85, 'U' 0055:0279: 24 le? 0055:027a: 31 06 bnt 06 [0282] 0055:027c: 35 02 ldi 02 0055:027e: a3 02 sal 02 0055:0280: 33 2d jmp 2d [02af] 0055:0282: 39 56 pushi 56 ; 86, 'V', save 0055:0284: 83 03 lal 03 0055:0286: 24 le? 0055:0287: 31 0d bnt 0d [0296] 0055:0289: 60 pprev 0055:028a: 34 b4 00 ldi 00b4 ; 180 0055:028d: 24 le? 0055:028e: 31 06 bnt 06 [0296] 0055:0290: 35 00 ldi 00 0055:0292: a3 02 sal 02 0055:0294: 33 19 jmp 19 [02af] 0055:0296: 38 b5 00 pushi 00b5 ; 181, caller 0055:0299: 83 03 lal 03 0055:029b: 24 le? 0055:029c: 31 0d bnt 0d [02ab] 0055:029e: 60 pprev 0055:029f: 34 12 01 ldi 0112 ; 274 0055:02a2: 24 le? 0055:02a3: 31 06 bnt 06 [02ab] 0055:02a5: 35 01 ldi 01 0055:02a7: a3 02 sal 02 0055:02a9: 33 04 jmp 04 [02af] 0055:02ab: 35 03 ldi 03 0055:02ad: a3 02 sal 02 0055:02af: 36 push 0055:02b0: 38 4d 01 pushi 014d ; 333, setCel 0055:02b3: 78 push1 0055:02b4: 76 push0 0055:02b5: 81 00 lag 00 0055:02b7: 4a 12 00 send 0012 ; 18 0055:02ba: 67 26 pTos register[26] 0055:02bc: 35 4b ldi 4b ; 75, 'K' 0055:02be: 22 lt? 0055:02bf: 31 15 bnt 15 [02d6] 0055:02c1: 38 ec 00 pushi 00ec ; 236, setCycle 0055:02c4: 38 04 00 pushi 0004 ; scaleX 0055:02c7: 51 18 class CT[18], 0055:02c9: 36 push 0055:02ca: 39 04 pushi 04 ; scaleX 0055:02cc: 78 push1 0055:02cd: 7c pushSelf 0055:02ce: 81 00 lag 00 0055:02d0: 4a 0c 00 send 000c ; 12 0055:02d3: 32 39 02 jmp 0239 [050f] (end the switch) 0055:02d6: 39 0e pushi 0e ; 14, view 0055:02d8: 76 push0 0055:02d9: 81 00 lag 00 0055:02db: 4a 04 00 send 0004 0055:02de: 36 push 0055:02df: 35 11 ldi 11 ; 17 0055:02e1: 1e gt? 0055:02e2: 31 0e bnt 0e [02f2] 0055:02e4: 39 0e pushi 0e ; 14, view 0055:02e6: 76 push0 0055:02e7: 81 00 lag 00 0055:02e9: 4a 04 00 send 0004 0055:02ec: 36 push 0055:02ed: 35 15 ldi 15 ; 21 0055:02ef: 22 lt? 0055:02f0: 31 00 bnt 00 [02f2] 0055:02f2: 36 push 0055:02f3: 35 01 ldi 01 0055:02f5: 1a eq? 0055:02f6: 31 14 bnt 14 [030c] 0055:02f8: 38 ec 00 pushi 00ec ; 236, setCycle 0055:02fb: 38 04 00 pushi 0004 ; scaleX 0055:02fe: 51 18 class CT[18], 0055:0300: 36 push 0055:0301: 7a push2 0055:0302: 78 push1 0055:0303: 7c pushSelf 0055:0304: 81 00 lag 00 0055:0306: 4a 0c 00 send 000c ; 12 0055:0309: 32 03 02 jmp 0203 [050f] (end the switch) 0055:030c: 38 ec 00 pushi 00ec ; 236, setCycle 0055:030f: 7a push2 0055:0310: 51 19 class End[19], 0055:0312: 36 push 0055:0313: 7c pushSelf 0055:0314: 81 00 lag 00 0055:0316: 4a 08 00 send 0008 0055:0319: 32 f3 01 jmp 01f3 [050f] (end the switch) 0055:031c: 3c dup 0055:031d: 35 02 ldi 02 (case 2) 0055:031f: 1a eq? 0055:0320: 30 53 01 bnt 0153 [0476] (next case) 0055:0323: 39 03 pushi 03 ; z 0055:0325: 67 26 pTos register[26] 0055:0327: 39 15 pushi 15 ; 21, nsBottom 0055:0329: 39 25 pushi 25 ; 37, '%', fore 0055:032b: 46 e7 fd 05 00 06 00 calle fde7 ; 64999 0005 0006 0055:0332: 30 74 00 bnt 0074 [03a9] 0055:0335: 35 0a ldi 0a ; 10 0055:0337: 91 f7 lagi f7 ; 247 0055:0339: 31 1b bnt 1b [0356] 0055:033b: 38 02 03 pushi 0302 ; 770, useSkill 0055:033e: 7a push2 0055:033f: 39 0a pushi 0a ; 10, inTop 0055:0341: 39 19 pushi 19 ; 25, lsBottom 0055:0343: 38 02 03 pushi 0302 ; 770, useSkill 0055:0346: 7a push2 0055:0347: 76 push0 0055:0348: 39 03 pushi 03 ; z 0055:034a: 38 02 03 pushi 0302 ; 770, useSkill 0055:034d: 7a push2 0055:034e: 7a push2 0055:034f: 39 05 pushi 05 ; scaleY 0055:0351: 81 00 lag 00 0055:0353: 4a 18 00 send 0018 ; 24 0055:0356: 38 08 03 pushi 0308 ; 776, useStamina 0055:0359: 78 push1 0055:035a: 7a push2 0055:035b: 81 00 lag 00 0055:035d: 4a 06 00 send 0006 0055:0360: 7a push2 0055:0361: 76 push0 0055:0362: 38 90 01 pushi 0190 ; 400, scrollDown 0055:0365: 35 0a ldi 0a ; 10 0055:0367: 91 f7 lagi f7 ; 247 0055:0369: 04 sub 0055:036a: 36 push 0055:036b: 35 04 ldi 04 0055:036d: 02 add 0055:036e: 36 push 0055:036f: 35 02 ldi 02 0055:0371: 0c shr 0055:0372: 36 push 0055:0373: 43 5d 04 00 callk Random[5d], 0004 0055:0377: a5 00 sat 00 0055:0379: 88 b9 01 lsg 01b9 ; 441 0055:037c: 7a push2 0055:037d: 76 push0 0055:037e: 78 push1 0055:037f: 43 5d 04 00 callk Random[5d], 0004 0055:0383: 31 06 bnt 06 [038b] 0055:0385: 76 push0 0055:0386: 85 00 lat 00 0055:0388: 04 sub 0055:0389: 33 02 jmp 02 [038d] 0055:038b: 85 00 lat 00 0055:038d: 02 add 0055:038e: a0 b9 01 sag 01b9 ; 441 0055:0391: 88 ba 01 lsg 01ba ; 442 0055:0394: 7a push2 0055:0395: 76 push0 0055:0396: 78 push1 0055:0397: 43 5d 04 00 callk Random[5d], 0004 0055:039b: 31 06 bnt 06 [03a3] 0055:039d: 76 push0 0055:039e: 85 00 lat 00 0055:03a0: 04 sub 0055:03a1: 33 02 jmp 02 [03a5] 0055:03a3: 85 00 lat 00 0055:03a5: 02 add 0055:03a6: a0 ba 01 sag 01ba ; 442 0055:03a9: 39 08 pushi 08 ; fixPriority 0055:03ab: 78 push1 0055:03ac: 78 push1 0055:03ad: 39 2b pushi 2b ; 43, '+', type 0055:03af: 78 push1 0055:03b0: 67 26 pTos register[26] 0055:03b2: 38 93 00 pushi 0093 ; 147, init 0055:03b5: 76 push0 0055:03b6: 38 92 00 pushi 0092 ; 146, new 0055:03b9: 76 push0 0055:03ba: 72 4c 00 lofsa ProjObj[09d7] 0055:03bd: 4a 04 00 send 0004 0055:03c0: 4a 10 00 send 0010 ; 16 0055:03c3: 67 26 pTos register[26] 0055:03c5: 3c dup 0055:03c6: 35 56 ldi 56 ; 86, 'V' 0055:03c8: 1a eq? 0055:03c9: 31 11 bnt 11 [03dc] (next register case) 0055:03cb: 39 34 pushi 34 ; 52, '4', number 0055:03cd: 78 push1 0055:03ce: 38 a5 03 pushi 03a5 ; 933, BAD SELECTOR 0055:03d1: 39 33 pushi 33 ; 51, '3', play 0055:03d3: 76 push0 0055:03d4: 72 1a 01 lofsa spellSoundFX[0aa5] 0055:03d7: 4a 0a 00 send 000a ; 10 0055:03da: 33 54 jmp 54 [0430] (end the register switch) 0055:03dc: 3c dup 0055:03dd: 35 58 ldi 58 ; 88, 'X' 0055:03df: 1a eq? 0055:03e0: 31 11 bnt 11 [03f3] (next register case) 0055:03e2: 39 34 pushi 34 ; 52, '4', number 0055:03e4: 78 push1 0055:03e5: 38 aa 03 pushi 03aa ; 938, BAD SELECTOR 0055:03e8: 39 33 pushi 33 ; 51, '3', play 0055:03ea: 76 push0 0055:03eb: 72 1a 01 lofsa spellSoundFX[0aa5] 0055:03ee: 4a 0a 00 send 000a ; 10 0055:03f1: 33 3d jmp 3d [0430] (end the register switch) 0055:03f3: 3c dup 0055:03f4: 35 5d ldi 5d ; 93, ']' 0055:03f6: 1a eq? 0055:03f7: 31 11 bnt 11 [040a] (next register case) 0055:03f9: 39 34 pushi 34 ; 52, '4', number 0055:03fb: 78 push1 0055:03fc: 38 ce 03 pushi 03ce ; 974, BAD SELECTOR 0055:03ff: 39 33 pushi 33 ; 51, '3', play 0055:0401: 76 push0 0055:0402: 72 1a 01 lofsa spellSoundFX[0aa5] 0055:0405: 4a 0a 00 send 000a ; 10 0055:0408: 33 26 jmp 26 [0430] (end the register switch) 0055:040a: 3c dup 0055:040b: 35 4f ldi 4f ; 79, 'O' 0055:040d: 1a eq? 0055:040e: 31 11 bnt 11 [0421] (next register case) 0055:0410: 39 34 pushi 34 ; 52, '4', number 0055:0412: 78 push1 0055:0413: 38 d7 03 pushi 03d7 ; 983, BAD SELECTOR 0055:0416: 39 33 pushi 33 ; 51, '3', play 0055:0418: 76 push0 0055:0419: 72 1a 01 lofsa spellSoundFX[0aa5] 0055:041c: 4a 0a 00 send 000a ; 10 0055:041f: 33 0f jmp 0f [0430] (end the register switch) 0055:0421: 39 34 pushi 34 ; 52, '4', number 0055:0423: 78 push1 0055:0424: 38 94 03 pushi 0394 ; 916, BAD SELECTOR 0055:0427: 39 33 pushi 33 ; 51, '3', play 0055:0429: 76 push0 0055:042a: 72 1a 01 lofsa spellSoundFX[0aa5] 0055:042d: 4a 0a 00 send 000a ; 10 0055:0430: 3a toss 0055:0431: 39 0e pushi 0e ; 14, view 0055:0433: 76 push0 0055:0434: 81 00 lag 00 0055:0436: 4a 04 00 send 0004 0055:0439: 36 push 0055:043a: 35 11 ldi 11 ; 17 0055:043c: 1e gt? 0055:043d: 31 0e bnt 0e [044d] 0055:043f: 39 0e pushi 0e ; 14, view 0055:0441: 76 push0 0055:0442: 81 00 lag 00 0055:0444: 4a 04 00 send 0004 0055:0447: 36 push 0055:0448: 35 15 ldi 15 ; 21 0055:044a: 22 lt? 0055:044b: 31 00 bnt 00 [044d] 0055:044d: 2f 05 bt 05 [0454] 0055:044f: 67 26 pTos register[26] 0055:0451: 35 4b ldi 4b ; 75, 'K' 0055:0453: 22 lt? 0055:0454: 31 10 bnt 10 [0466] 0055:0456: 38 ec 00 pushi 00ec ; 236, setCycle 0055:0459: 7a push2 0055:045a: 51 19 class End[19], 0055:045c: 36 push 0055:045d: 7c pushSelf 0055:045e: 81 00 lag 00 0055:0460: 4a 08 00 send 0008 0055:0463: 32 a9 00 jmp 00a9 [050f] (end the switch) 0055:0466: 38 ec 00 pushi 00ec ; 236, setCycle 0055:0469: 7a push2 0055:046a: 51 1a class Beg[1a], 0055:046c: 36 push 0055:046d: 7c pushSelf 0055:046e: 81 00 lag 00 0055:0470: 4a 08 00 send 0008 0055:0473: 32 99 00 jmp 0099 [050f] (end the switch) 0055:0476: 3c dup 0055:0477: 35 03 ldi 03 (case 3) 0055:0479: 1a eq? 0055:047a: 30 72 00 bnt 0072 [04ef] (next case) 0055:047d: 39 0e pushi 0e ; 14, view 0055:047f: 76 push0 0055:0480: 81 00 lag 00 0055:0482: 4a 04 00 send 0004 0055:0485: 36 push 0055:0486: 35 11 ldi 11 ; 17 0055:0488: 1e gt? 0055:0489: 31 0e bnt 0e [0499] 0055:048b: 39 0e pushi 0e ; 14, view 0055:048d: 76 push0 0055:048e: 81 00 lag 00 0055:0490: 4a 04 00 send 0004 0055:0493: 36 push 0055:0494: 35 15 ldi 15 ; 21 0055:0496: 22 lt? 0055:0497: 31 00 bnt 00 [0499] 0055:0499: 18 not 0055:049a: 31 0d bnt 0d [04a9] 0055:049c: 38 16 03 pushi 0316 ; 790, normalize 0055:049f: 78 push1 0055:04a0: 8b 00 lsl 00 0055:04a2: 81 00 lag 00 0055:04a4: 4a 06 00 send 0006 0055:04a7: 33 40 jmp 40 [04e9] 0055:04a9: 39 0e pushi 0e ; 14, view 0055:04ab: 78 push1 0055:04ac: 39 14 pushi 14 ; 20, nsRight 0055:04ae: 39 0f pushi 0f ; 15, loop 0055:04b0: 78 push1 0055:04b1: 39 4b pushi 4b ; 75, 'K', at 0055:04b3: 78 push1 0055:04b4: 39 0f pushi 0f ; 15, loop 0055:04b6: 76 push0 0055:04b7: 81 00 lag 00 0055:04b9: 4a 04 00 send 0004 0055:04bc: 36 push 0055:04bd: 83 0b lal 0b ; 11 0055:04bf: 4a 06 00 send 0006 0055:04c2: 36 push 0055:04c3: 39 10 pushi 10 ; 16, cel 0055:04c5: 78 push1 0055:04c6: 39 4b pushi 4b ; 75, 'K', at 0055:04c8: 78 push1 0055:04c9: 39 0f pushi 0f ; 15, loop 0055:04cb: 76 push0 0055:04cc: 81 00 lag 00 0055:04ce: 4a 04 00 send 0004 0055:04d1: 36 push 0055:04d2: 83 0b lal 0b ; 11 0055:04d4: 4a 06 00 send 0006 0055:04d7: 36 push 0055:04d8: 35 06 ldi 06 0055:04da: 22 lt? 0055:04db: 31 04 bnt 04 [04e1] 0055:04dd: 35 04 ldi 04 0055:04df: 33 02 jmp 02 [04e3] 0055:04e1: 35 05 ldi 05 0055:04e3: 36 push 0055:04e4: 81 00 lag 00 0055:04e6: 4a 12 00 send 0012 ; 18 0055:04e9: 35 02 ldi 02 0055:04eb: 65 1c aTop cycles[1c] 0055:04ed: 33 20 jmp 20 [050f] (end the switch) 0055:04ef: 3c dup 0055:04f0: 35 04 ldi 04 (case 4) 0055:04f2: 1a eq? 0055:04f3: 31 1a bnt 1a [050f] (end the switch) 0055:04f5: 78 push1 0055:04f6: 39 09 pushi 09 ; inLeft 0055:04f8: 45 04 02 00 callb 04 0002 0055:04fc: 18 not 0055:04fd: 31 09 bnt 09 [0508] 0055:04ff: 38 19 02 pushi 0219 ; 537, handsOn 0055:0502: 76 push0 0055:0503: 81 01 lag 01 0055:0505: 4a 04 00 send 0004 0055:0508: 38 94 00 pushi 0094 ; 148, dispose 0055:050b: 76 push0 0055:050c: 54 04 00 self 0004 0055:050f: 3a toss 0055:0510: 48 ret