home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-04-04 | 23.0 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
| |
100%
| gt2
| Kopftext: ';************************************************************************'
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |;*******|********|
|00000010| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000020| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000030| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000040| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 00 3b 00 3b 20 20 20 |********|*.;.; |
|00000050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000060| 43 69 72 63 75 73 20 62 | 79 20 47 72 61 68 61 6d |Circus b|y Graham|
|00000070| 20 4d 61 63 6b 61 72 65 | 6c 00 3b 20 20 20 20 20 | Mackare|l.; |
|00000080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 36 74 | | 6t|
|00000090| 68 20 46 65 62 72 75 61 | 72 79 20 31 39 39 34 00 |h Februa|ry 1994.|
|000000a0| 3b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |; | |
|000000b0| 20 20 20 20 56 65 72 73 | 69 6f 6e 20 31 2e 31 00 | Vers|ion 1.1.|
|000000c0| 3b 00 3b 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;.; | |
|000000d0| 20 20 20 20 20 20 41 6d | 65 6e 64 6d 65 6e 74 73 | Am|endments|
|000000e0| 3a 00 3b 00 3b 20 20 20 | 20 20 20 20 20 20 20 20 |:.;.; | |
|000000f0| 20 20 20 20 20 20 20 20 | 20 2d 20 20 50 72 6f 64 | | - Prod|
|00000100| 75 63 65 64 20 62 61 6c | 6f 6f 6e 20 65 78 70 6c |uced bal|oon expl|
|00000110| 6f 73 69 6f 6e 20 61 6e | 69 6d 61 74 69 6f 6e 00 |osion an|imation.|
|00000120| 3b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |; | |
|00000130| 20 20 20 20 20 2d 20 20 | 4f 62 74 61 69 6e 20 73 | - |Obtain s|
|00000140| 68 61 70 65 73 20 66 72 | 6f 6d 20 73 68 61 70 65 |hapes fr|om shape|
|00000150| 73 20 66 69 6c 65 20 69 | 6e 73 74 65 61 64 20 6f |s file i|nstead o|
|00000160| 66 20 69 6e 64 69 76 69 | 64 75 61 6c 20 62 72 75 |f indivi|dual bru|
|00000170| 73 68 65 73 00 3b 20 20 | 20 20 20 20 20 20 20 20 |shes.; | |
|00000180| 20 20 20 20 20 20 20 20 | 20 20 2d 20 20 50 72 6f | | - Pro|
|00000190| 64 75 63 65 64 20 74 69 | 67 68 74 72 6f 70 65 20 |duced ti|ghtrope |
|000001a0| 62 6f 75 6e 63 65 20 61 | 6e 69 6d 61 74 69 6f 6e |bounce a|nimation|
|000001b0| 00 3b 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.; | |
|000001c0| 20 20 20 20 20 20 2d 20 | 20 55 73 65 20 62 61 63 | - | Use bac|
|000001d0| 6b 67 72 6f 75 6e 64 20 | 62 6c 69 74 73 20 74 6f |kground |blits to|
|000001e0| 20 65 6e 73 75 72 65 20 | 67 72 61 70 68 69 63 73 | ensure |graphics|
|000001f0| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 73 74 61 79 | backgro|und stay|
|00000200| 73 20 70 75 74 00 3b 20 | 20 20 20 20 20 20 20 20 |s put.; | |
|00000210| 20 20 20 20 20 20 20 20 | 20 20 20 2d 20 20 4d 61 | | - Ma|
|00000220| 6b 65 20 43 6c 6f 77 6e | 20 65 6e 65 72 67 79 20 |ke Clown| energy |
|00000230| 76 61 72 79 20 61 63 63 | 6f 72 64 69 6e 67 20 74 |vary acc|ording t|
|00000240| 6f 20 70 6f 73 69 74 69 | 6f 6e 20 43 6c 6f 77 6e |o positi|on Clown|
|00000250| 20 68 69 74 20 73 65 65 | 20 73 61 77 00 3b 20 20 | hit see| saw.; |
|00000260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000270| 20 20 2d 20 20 45 6e 73 | 75 72 65 20 69 6e 74 72 | - Ens|ure intr|
|00000280| 6f 64 75 63 74 69 6f 6e | 20 73 63 72 65 65 6e 20 |oduction| screen |
|00000290| 63 6f 6d 65 73 20 6f 6e | 20 73 74 72 61 69 67 68 |comes on| straigh|
|000002a0| 74 20 66 72 6f 6d 20 77 | 6f 72 6b 62 65 6e 63 68 |t from w|orkbench|
|000002b0| 00 3b 00 3b 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.;.;****|********|
|000002c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000002d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000002e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000002f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 00 3b 00 |********|*****.;.|
|00000300| 80 c3 00 00 3b 20 20 20 | 20 20 20 20 20 20 20 20 |....; | |
|00000310| 49 6e 74 72 6f 64 75 63 | 74 69 6f 6e 20 73 63 72 |Introduc|tion scr|
|00000320| 65 65 6e 00 00 d0 84 20 | 22 63 6c 6f 77 6e 2e 68 |een.... |"clown.h|
|00000330| 69 72 65 73 22 00 a9 01 | 20 31 2c 22 63 69 72 63 |ires"...| 1,"circ|
|00000340| 75 73 2e 6d 65 64 22 00 | b0 02 20 32 2c 20 22 44 |us.med".|.. 2, "D|
|00000350| 65 61 64 2e 73 74 72 22 | 00 a9 02 20 31 00 cf 02 |ead.str"|... 1...|
|00000360| 20 30 00 cf 01 20 31 2c | d0 87 2b 31 36 00 d0 03 | 0... 1,|..+16...|
|00000370| 20 31 2c 30 00 cf 07 20 | 30 00 d0 02 20 30 2c 22 | 1,0... |0... 0,"|
|00000380| 63 6c 6f 77 6e 2e 68 69 | 72 65 73 22 2c 30 00 80 |clown.hi|res",0..|
|00000390| 2c 20 ce 09 20 30 00 cf | 07 20 31 00 80 0c 20 df |, .. 0..|. 1... .|
|000003a0| 04 28 30 29 20 3d 20 30 | 00 20 80 37 00 20 a9 03 |.(0) = 0|. .7. ..|
|000003b0| 00 80 c1 00 a9 04 00 00 | 80 2b 20 d0 01 20 30 00 |........|.+ .. 0.|
|000003c0| 80 2b 20 d0 01 20 31 00 | 00 3b 20 4c 6f 61 64 20 |.+ .. 1.|.; Load |
|000003d0| 73 68 61 70 65 73 20 61 | 6e 64 20 73 6f 75 6e 64 |shapes a|nd sound|
|000003e0| 73 00 00 cd 0a 20 30 2c | 22 67 61 6d 65 2e 73 68 |s.... 0,|"game.sh|
|000003f0| 61 70 65 73 32 22 00 cd | 0a 20 31 35 2c 22 65 78 |apes2"..|. 15,"ex|
|00000400| 70 6c 6f 64 65 2e 73 68 | 61 70 65 73 34 22 00 cd |plode.sh|apes4"..|
|00000410| 0a 20 32 36 2c 22 74 69 | 67 68 74 72 6f 70 65 2e |. 26,"ti|ghtrope.|
|00000420| 73 68 61 70 65 73 22 00 | cd 01 20 33 30 2c 22 74 |shapes".|.. 30,"t|
|00000430| 65 6e 74 2e 69 66 66 22 | 2c 31 00 00 ce 01 20 30 |ent.iff"|,1.... 0|
|00000440| 2c 22 63 69 72 63 75 73 | 5f 69 6d 61 67 65 73 2e |,"circus|_images.|
|00000450| 69 66 66 22 00 00 ba 03 | 20 30 2c 22 62 6f 69 6e |iff"....| 0,"boin|
|00000460| 67 2e 73 61 6d 70 6c 65 | 22 00 ba 03 20 31 2c 22 |g.sample|"... 1,"|
|00000470| 70 6f 70 2e 73 61 6d 70 | 6c 65 22 00 ba 03 20 32 |pop.samp|le"... 2|
|00000480| 2c 22 62 6f 6e 75 73 2e | 73 61 6d 70 6c 65 22 00 |,"bonus.|sample".|
|00000490| 00 3b 20 20 57 61 69 74 | 20 61 20 77 68 69 6c 65 |.; Wait| a while|
|000004a0| 20 62 65 66 6f 72 65 20 | 63 6f 6d 70 75 74 65 72 | before |computer|
|000004b0| 20 69 73 20 62 6c 69 74 | 7a 65 64 00 00 80 37 20 | is blit|zed...7 |
|000004c0| 31 30 30 00 00 80 34 00 | 00 3b 20 20 45 6e 61 62 |100...4.|.; Enab|
|000004d0| 6c 65 20 6d 6f 75 73 65 | 20 74 6f 20 61 6c 6c 6f |le mouse| to allo|
|000004e0| 77 20 73 65 65 20 73 61 | 77 20 74 6f 20 62 65 20 |w see sa|w to be |
|000004f0| 6d 6f 76 65 64 20 77 69 | 74 68 20 74 68 65 20 6d |moved wi|th the m|
|00000500| 6f 75 73 65 20 6d 6f 76 | 65 6d 65 6e 74 00 00 b6 |ouse mov|ement...|
|00000510| 01 20 80 c5 00 b1 01 20 | 80 c5 3a c7 07 00 c7 02 |. ..... |..:.....|
|00000520| 20 31 00 00 3b 20 20 49 | 6e 69 74 69 61 6c 69 73 | 1..; I|nitialis|
|00000530| 65 20 76 61 72 69 62 6c | 65 73 00 00 2e 69 6e 69 |e varibl|es...ini|
|00000540| 74 00 80 01 20 2e 68 69 | 67 68 5f 73 63 6f 72 65 |t... .hi|gh_score|
|00000550| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000560| 20 20 20 20 20 3b 20 73 | 65 74 20 68 69 67 68 20 | ; s|et high |
|00000570| 73 63 6f 72 65 20 74 79 | 70 65 00 20 20 6e 61 6d |score ty|pe. nam|
|00000580| 65 5f 68 69 67 68 24 00 | 20 20 73 63 6f 72 65 5f |e_high$.| score_|
|00000590| 68 69 67 68 2e 6c 00 80 | 02 20 80 01 00 00 80 04 |high.l..|. ......|
|000005a0| 20 74 61 62 6c 65 2e 68 | 69 67 68 5f 73 63 6f 72 | table.h|igh_scor|
|000005b0| 65 28 31 31 29 20 20 20 | 20 20 20 20 20 20 20 20 |e(11) | |
|000005c0| 20 20 20 20 20 3b 20 44 | 69 6d 65 6e 73 69 6f 6e | ; D|imension|
|000005d0| 20 68 69 67 68 20 73 63 | 6f 72 65 20 74 61 62 6c | high sc|ore tabl|
|000005e0| 65 00 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e. | |
|000005f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000600| 20 20 20 20 20 20 20 20 | 20 20 3b 20 61 6e 64 20 | | ; and |
|00000610| 69 6e 69 74 69 61 6c 69 | 73 65 20 69 74 20 77 69 |initiali|se it wi|
|00000620| 74 68 20 64 65 66 61 75 | 6c 74 20 73 63 6f 72 65 |th defau|lt score|
|00000630| 73 00 80 16 20 69 6e 64 | 65 78 20 3d 20 30 20 80 |s... ind|ex = 0 .|
|00000640| 18 20 31 31 00 20 20 80 | 0e 20 69 6e 64 65 78 20 |. 11. .|. index |
|00000650| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000660| 20 20 20 20 20 20 20 20 | 20 3b 20 63 61 6e 6e 6f | | ; canno|
|00000670| 74 20 75 73 65 20 64 61 | 74 61 20 73 74 61 74 65 |t use da|ta state|
|00000680| 6d 65 6e 74 20 61 73 20 | 69 74 20 63 61 75 73 65 |ment as |it cause|
|00000690| 73 00 20 20 20 80 0f 20 | 30 20 20 20 20 20 20 20 |s. .. |0 |
|000006a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006b0| 20 20 20 20 20 20 20 20 | 3b 20 73 74 72 61 6e 67 | |; strang|
|000006c0| 65 20 6f 75 74 20 6f 66 | 20 6d 65 6d 6f 72 79 20 |e out of| memory |
|000006d0| 65 72 72 6f 72 73 20 77 | 68 65 6e 20 70 72 6f 67 |errors w|hen prog|
|000006e0| 72 61 6d 00 20 20 20 20 | 20 6e 61 6d 65 24 20 3d |ram. | name$ =|
|000006f0| 20 22 44 75 63 6b 20 45 | 67 67 20 44 61 76 69 64 | "Duck E|gg David|
|00000700| 20 20 22 20 20 20 20 20 | 20 20 20 20 3b 20 6c 69 | " | ; li|
|00000710| 6e 65 73 20 61 72 65 20 | 67 72 65 61 74 65 72 20 |nes are |greater |
|00000720| 74 68 61 6e 20 38 30 20 | 63 68 61 72 61 63 74 65 |than 80 |characte|
|00000730| 72 73 20 21 21 21 00 20 | 20 20 20 20 73 63 6f 72 |rs !!!. | scor|
|00000740| 65 5f 74 61 62 6c 65 2e | 6c 20 3d 20 38 35 30 30 |e_table.|l = 8500|
|00000750| 30 00 20 20 20 80 0f 20 | 31 00 20 20 20 20 20 6e |0. .. |1. n|
|00000760| 61 6d 65 24 20 3d 20 22 | 4a 75 69 63 79 20 4a 6f |ame$ = "|Juicy Jo|
|00000770| 61 6e 6e 65 20 20 20 20 | 22 00 20 20 20 20 20 73 |anne |". s|
|00000780| 63 6f 72 65 5f 74 61 62 | 6c 65 20 3d 20 37 31 30 |core_tab|le = 710|
|00000790| 30 30 00 20 20 20 80 0f | 20 32 00 20 20 20 20 20 |00. ..| 2. |
|000007a0| 6e 61 6d 65 24 20 3d 20 | 22 47 72 61 68 61 6d 20 |name$ = |"Graham |
|000007b0| 74 68 65 20 47 72 65 61 | 74 22 00 20 20 20 20 20 |the Grea|t". |
|000007c0| 73 63 6f 72 65 5f 74 61 | 62 6c 65 20 3d 20 34 37 |score_ta|ble = 47|
|000007d0| 30 30 30 00 20 20 20 80 | 0f 20 33 00 20 20 20 20 |000. .|. 3. |
|000007e0| 20 6e 61 6d 65 24 20 3d | 20 22 4c 69 74 74 6c 65 | name$ =| "Little|
|000007f0| 20 4d 6f 20 20 20 20 20 | 20 20 22 00 20 20 20 20 | Mo | ". |
|00000800| 20 73 63 6f 72 65 5f 74 | 61 62 6c 65 20 3d 20 32 | score_t|able = 2|
|00000810| 34 35 30 30 00 20 20 20 | 80 0f 20 34 00 20 20 20 |4500. |.. 4. |
|00000820| 20 20 6e 61 6d 65 24 20 | 3d 20 22 48 61 69 72 79 | name$ |= "Hairy|
|00000830| 20 43 61 72 6c 20 20 20 | 20 20 20 22 00 20 20 20 | Carl | ". |
|00000840| 20 20 73 63 6f 72 65 5f | 74 61 62 6c 65 20 3d 20 | score_|table = |
|00000850| 31 32 33 30 30 00 20 20 | 20 80 0f 20 35 00 20 20 |12300. | .. 5. |
|00000860| 20 20 20 6e 61 6d 65 24 | 20 3d 20 22 53 61 6e 20 | name$| = "San |
|00000870| 20 20 20 20 20 20 20 20 | 20 20 20 20 22 00 20 20 | | ". |
|00000880| 20 20 20 73 63 6f 72 65 | 5f 74 61 62 6c 65 20 3d | score|_table =|
|00000890| 20 31 30 31 30 30 00 20 | 20 20 80 0f 20 36 00 20 | 10100. | .. 6. |
|000008a0| 20 20 20 20 6e 61 6d 65 | 24 20 3d 20 22 48 6f 6f | name|$ = "Hoo|
|000008b0| 6c 69 67 61 6e 20 20 4e | 69 63 6b 20 20 22 00 20 |ligan N|ick ". |
|000008c0| 20 20 20 20 73 63 6f 72 | 65 5f 74 61 62 6c 65 20 | scor|e_table |
|000008d0| 3d 20 38 31 30 30 00 20 | 20 20 80 0f 20 37 00 20 |= 8100. | .. 7. |
|000008e0| 20 20 20 20 6e 61 6d 65 | 24 20 3d 20 22 4c 6f 6f | name|$ = "Loo|
|000008f0| 6e 79 20 4c 69 73 61 20 | 20 20 20 20 20 22 00 20 |ny Lisa | ". |
|00000900| 20 20 20 20 73 63 6f 72 | 65 5f 74 61 62 6c 65 20 | scor|e_table |
|00000910| 3d 20 37 30 30 30 00 20 | 20 20 80 0f 20 38 00 20 |= 7000. | .. 8. |
|00000920| 20 20 20 20 6e 61 6d 65 | 24 20 3d 20 22 42 61 72 | name|$ = "Bar|
|00000930| 72 69 65 27 73 20 42 65 | 73 74 20 20 20 22 00 20 |rie's Be|st ". |
|00000940| 20 20 20 20 73 63 6f 72 | 65 5f 74 61 62 6c 65 20 | scor|e_table |
|00000950| 3d 20 35 30 30 30 00 20 | 20 20 80 0f 20 39 00 20 |= 5000. | .. 9. |
|00000960| 20 20 20 20 6e 61 6d 65 | 24 20 3d 20 22 57 6f 62 | name|$ = "Wob|
|00000970| 62 6c 79 20 4a 6f 79 63 | 65 20 20 20 20 22 00 20 |bly Joyc|e ". |
|00000980| 20 20 20 20 73 63 6f 72 | 65 5f 74 61 62 6c 65 20 | scor|e_table |
|00000990| 3d 20 34 31 30 30 00 20 | 20 20 80 0f 20 31 30 00 |= 4100. | .. 10.|
|000009a0| 20 20 20 20 20 6e 61 6d | 65 24 20 3d 20 22 42 61 | nam|e$ = "Ba|
|000009b0| 74 74 6c 65 20 41 78 65 | 20 48 69 6c 64 61 22 00 |ttle Axe| Hilda".|
|000009c0| 20 20 20 20 20 73 63 6f | 72 65 5f 74 61 62 6c 65 | sco|re_table|
|000009d0| 20 3d 20 33 32 30 30 00 | 20 20 20 80 0f 20 31 31 | = 3200.| .. 11|
|000009e0| 00 20 20 20 20 20 6e 61 | 6d 65 24 20 3d 20 22 4c |. na|me$ = "L|
|000009f0| 6f 75 6e 67 69 6e 67 20 | 4c 65 73 20 20 20 20 22 |ounging |Les "|
|00000a00| 00 20 20 20 20 20 73 63 | 6f 72 65 5f 74 61 62 6c |. sc|ore_tabl|
|00000a10| 65 20 3d 20 32 39 30 30 | 00 20 20 80 02 20 80 0e |e = 2900|. .. ..|
|00000a20| 00 20 20 74 61 62 6c 65 | 28 69 6e 64 65 78 29 5c |. table|(index)\|
|00000a30| 6e 61 6d 65 5f 68 69 67 | 68 20 3d 20 6e 61 6d 65 |name_hig|h = name|
|00000a40| 24 00 20 20 74 61 62 6c | 65 28 69 6e 64 65 78 29 |$. tabl|e(index)|
|00000a50| 5c 73 63 6f 72 65 5f 68 | 69 67 68 20 3d 20 73 63 |\score_h|igh = sc|
|00000a60| 6f 72 65 5f 74 61 62 6c | 65 00 80 17 00 00 80 04 |ore_tabl|e.......|
|00000a70| 20 62 61 6c 6f 6f 6e 2e | 62 28 31 31 2c 32 29 20 | baloon.|b(11,2) |
|00000a80| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 42 61 6c | | ; Bal|
|00000a90| 6f 6f 6e 73 20 70 6f 70 | 70 65 64 20 61 72 72 61 |oons pop|ped arra|
|00000aa0| 79 00 62 61 6c 6f 6f 6e | 5f 63 6f 75 6e 74 2e 62 |y.baloon|_count.b|
|00000ab0| 20 3d 20 30 20 20 20 20 | 20 20 20 20 20 20 20 20 | = 0 | |
|00000ac0| 3b 20 4e 75 6d 62 65 72 | 20 6f 66 20 62 61 6c 6f |; Number| of balo|
|00000ad0| 6f 6e 73 20 70 6f 70 70 | 65 64 00 6d 61 6e 78 2e |ons popp|ed.manx.|
|00000ae0| 77 3d 34 38 20 20 20 20 | 20 20 20 20 20 20 20 20 |w=48 | |
|00000af0| 20 20 20 20 20 20 20 20 | 20 3b 20 49 6e 69 74 69 | | ; Initi|
|00000b00| 61 6c 20 63 6c 6f 77 6e | 20 78 20 70 6f 73 69 74 |al clown| x posit|
|00000b10| 69 6f 6e 00 6d 61 6e 79 | 2e 77 3d 31 38 33 20 20 |ion.many|.w=183 |
|00000b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b30| 20 20 3b 20 49 6e 69 74 | 69 61 6c 20 63 6c 6f 77 | ; Init|ial clow|
|00000b40| 6e 20 79 20 70 6f 73 69 | 74 69 6f 6e 00 6d 61 6e |n y posi|tion.man|
|00000b50| 64 78 2e 77 3d 31 20 20 | 20 20 20 20 20 20 20 20 |dx.w=1 | |
|00000b60| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 43 6c 6f | | ; Clo|
|00000b70| 77 6e 20 78 20 6d 6f 76 | 65 20 69 6e 63 72 65 6d |wn x mov|e increm|
|00000b80| 65 6e 74 00 6d 61 6e 64 | 79 2e 77 3d 2d 34 20 20 |ent.mand|y.w=-4 |
|00000b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ba0| 20 20 3b 20 43 6c 6f 77 | 6e 20 79 20 6d 6f 76 65 | ; Clow|n y move|
|00000bb0| 20 69 6e 63 72 65 6d 65 | 6e 74 00 6c 65 76 65 6c | increme|nt.level|
|00000bc0| 2e 77 3d 31 32 20 20 20 | 20 20 20 20 20 20 20 20 |.w=12 | |
|00000bd0| 20 20 20 20 20 20 20 20 | 20 3b 20 67 61 6d 65 20 | | ; game |
|00000be0| 6c 65 76 65 6c 2c 20 6c | 6f 77 65 72 20 3d 20 66 |level, l|ower = f|
|00000bf0| 61 73 74 65 72 00 72 69 | 67 68 74 5f 73 65 65 5f |aster.ri|ght_see_|
|00000c00| 73 61 77 2e 62 20 3d 20 | bc 0e 00 79 30 2e 77 3d |saw.b = |...y0.w=|
|00000c10| 32 35 36 2d 34 30 20 20 | 20 20 20 20 20 20 20 20 |256-40 | |
|00000c20| 20 20 20 20 20 20 20 20 | 20 3b 20 53 65 65 20 53 | | ; See S|
|00000c30| 61 77 20 79 20 73 63 72 | 65 65 6e 20 70 6f 73 69 |aw y scr|een posi|
|00000c40| 74 69 6f 6e 00 73 63 72 | 65 65 6e 64 58 2e 77 3d |tion.scr|eendX.w=|
|00000c50| 33 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |3 | |
|00000c60| 20 20 20 3b 20 53 63 72 | 6f 6c 6c 20 73 70 65 65 | ; Scr|oll spee|
|00000c70| 64 20 6f 66 20 62 61 6c | 6f 6f 6e 73 00 73 63 6f |d of bal|oons.sco|
|00000c80| 72 65 2e 6c 3d 30 20 20 | 20 20 20 20 20 20 20 20 |re.l=0 | |
|00000c90| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 69 6e 69 | | ; ini|
|00000ca0| 74 69 61 6c 20 73 63 6f | 72 65 00 67 61 6d 65 5f |tial sco|re.game_|
|00000cb0| 73 74 61 72 74 65 64 2e | 62 20 3d 20 bc 0f 00 70 |started.|b = ...p|
|00000cc0| 6c 61 79 2e 62 20 3d 20 | bc 0f 20 20 20 20 20 20 |lay.b = |.. |
|00000cd0| 20 20 20 20 20 20 20 20 | 20 20 3b 20 54 75 6e 65 | | ; Tune|
|00000ce0| 20 70 6c 61 79 20 62 6f | 6f 6c 65 61 6e 00 6d 61 | play bo|olean.ma|
|00000cf0| 6e 2e 62 20 3d 20 35 20 | 20 20 20 20 20 20 20 20 |n.b = 5 | |
|00000d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 49 6e | | ; In|
|00000d10| 69 74 69 61 6c 20 63 6c | 6f 77 6e 20 73 68 61 70 |itial cl|own shap|
|00000d20| 65 00 6c 69 76 65 73 2e | 62 3d 33 20 20 20 20 20 |e.lives.|b=3 |
|00000d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000d40| 3b 20 4e 75 6d 62 65 72 | 20 6f 66 20 6c 69 76 65 |; Number| of live|
|00000d50| 73 20 6c 65 66 74 00 72 | 65 6c 65 61 73 65 64 2e |s left.r|eleased.|
|00000d60| 62 20 3d 20 bc 0f 20 20 | 20 20 20 20 20 20 20 20 |b = .. | |
|00000d70| 20 20 3b 20 42 6f 6e 75 | 73 20 73 68 61 70 65 20 | ; Bonu|s shape |
|00000d80| 72 65 6c 65 61 73 65 64 | 20 62 6f 6f 6c 65 61 6e |released| boolean|
|00000d90| 00 dd 84 20 22 30 30 30 | 30 30 30 30 30 22 20 20 |... "000|00000" |
|00000da0| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 73 63 6f | | ; sco|
|00000db0| 72 65 20 64 69 73 70 6c | 61 79 20 66 6f 72 6d 61 |re displ|ay forma|
|00000dc0| 74 00 70 6f 70 70 65 64 | 5f 69 6e 64 65 78 2e 62 |t.popped|_index.b|
|00000dd0| 20 3d 20 31 35 00 68 69 | 74 5f 70 6f 73 69 74 69 | = 15.hi|t_positi|
|00000de0| 6f 6e 2e 62 20 3d 20 34 | 30 00 00 3b 20 20 53 65 |on.b = 4|0..; Se|
|00000df0| 74 20 75 70 20 62 69 74 | 6d 61 70 20 30 20 66 6f |t up bit|map 0 fo|
|00000e00| 72 20 73 63 72 6f 6c 6c | 69 6e 67 20 74 68 65 20 |r scroll|ing the |
|00000e10| 62 61 6c 6f 6f 6e 73 00 | 00 d0 01 20 30 2c 38 30 |baloons.|... 0,80|
|00000e20| 30 2c 32 35 36 2c 33 00 | 00 3b 20 20 53 65 74 20 |0,256,3.|.; Set |
|00000e30| 75 70 20 74 68 65 20 73 | 68 61 70 65 20 71 75 65 |up the s|hape que|
|00000e40| 75 65 20 74 6f 20 61 6c | 6c 6f 77 20 61 75 74 6f |ue to al|low auto|
|00000e50| 6d 61 74 69 63 20 63 72 | 65 61 74 69 6f 6e 20 61 |matic cr|eation a|
|00000e60| 6e 64 20 72 65 6d 6f 76 | 61 6c 20 6f 66 20 73 68 |nd remov|al of sh|
|00000e70| 61 70 65 73 00 3b 20 20 | 6f 6e 20 74 68 65 20 42 |apes.; |on the B|
|00000e80| 69 74 4d 61 70 2e 00 00 | c9 01 20 30 2c 31 36 33 |itMap...|.. 0,163|
|00000e90| 38 34 00 00 3b 20 20 50 | 75 74 20 62 61 6c 6f 6f |84..; P|ut baloo|
|00000ea0| 6e 20 73 68 61 70 65 73 | 20 6f 6e 74 6f 20 62 69 |n shapes| onto bi|
|00000eb0| 74 6d 61 70 20 30 00 00 | 80 06 20 73 65 74 75 70 |tmap 0..|.. setup|
|00000ec0| 5f 62 61 6c 6f 6f 6e 73 | 00 00 3b 20 20 53 65 74 |_baloons|..; Set|
|00000ed0| 20 75 70 20 61 20 73 65 | 63 6f 6e 64 20 62 69 74 | up a se|cond bit|
|00000ee0| 6d 61 70 20 74 6f 20 61 | 6c 6c 6f 77 20 74 68 65 |map to a|llow the|
|00000ef0| 20 53 65 65 20 53 61 77 | 20 61 6e 64 20 63 6c 6f | See Saw| and clo|
|00000f00| 77 6e 73 20 74 6f 20 6d | 6f 76 65 00 3b 20 20 77 |wns to m|ove.; w|
|00000f10| 69 74 68 6f 75 74 20 62 | 65 69 6e 67 20 73 63 72 |ithout b|eing scr|
|00000f20| 6f 6c 6c 65 64 2e 00 00 | d0 01 20 31 2c 34 30 30 |olled...|.. 1,400|
|00000f30| 2c 32 35 36 2c 33 00 00 | 3b 20 20 53 65 74 20 75 |,256,3..|; Set u|
|00000f40| 70 20 61 20 73 6c 69 63 | 65 20 66 6f 72 20 64 75 |p a slic|e for du|
|00000f50| 61 6c 20 70 6c 61 79 66 | 69 65 6c 64 20 6d 6f 64 |al playf|ield mod|
|00000f60| 65 2e 00 00 c8 01 20 30 | 2c 34 34 2c 33 32 30 2c |e..... 0|,44,320,|
|00000f70| 32 35 36 2c 24 66 66 66 | 61 2c 36 2c 38 2c 31 36 |256,$fff|a,6,8,16|
|00000f80| 2c 34 30 30 2c 38 30 30 | 00 00 3b 20 75 73 65 20 |,400,800|..; use |
|00000f90| 31 36 20 63 6f 6c 6f 75 | 72 20 70 61 6c 65 74 74 |16 colou|r palett|
|00000fa0| 65 20 66 72 6f 6d 20 74 | 68 65 20 73 68 61 70 65 |e from t|he shape|
|00000fb0| 73 20 49 46 46 20 66 69 | 6c 65 20 74 6f 20 65 6e |s IFF fi|le to en|
|00000fc0| 73 75 72 65 20 74 68 65 | 20 63 6f 6c 6f 75 72 73 |sure the| colours|
|00000fd0| 00 3b 20 6f 6e 20 62 6f | 74 68 20 62 69 74 6d 61 |.; on bo|th bitma|
|00000fe0| 70 73 20 61 72 65 20 74 | 68 65 20 73 61 6d 65 00 |ps are t|he same.|
|00000ff0| 00 80 2c 20 ce 09 20 30 | 00 00 3b 20 73 65 74 20 |.., .. 0|..; set |
|00001000| 74 68 65 20 68 61 6e 64 | 6c 65 20 6f 66 20 74 68 |the hand|le of th|
|00001010| 65 20 63 6c 6f 77 6e 20 | 74 6f 20 74 68 65 20 6d |e clown |to the m|
|00001020| 69 64 64 6c 65 20 66 6f | 72 20 63 6f 72 72 65 63 |iddle fo|r correc|
|00001030| 74 20 63 6f 6c 6c 69 73 | 69 6f 6e 20 64 65 74 65 |t collis|ion dete|
|00001040| 63 74 69 6f 6e 00 00 cd | 0d 20 35 00 cd 0d 20 36 |ction...|. 5... 6|
|00001050| 00 00 80 06 20 73 63 6f | 72 65 5f 64 69 73 70 6c |.... sco|re_displ|
|00001060| 61 79 00 80 06 20 64 69 | 73 70 6c 61 79 5f 6c 69 |ay... di|splay_li|
|00001070| 76 65 73 00 00 00 cb 01 | 20 33 30 2c 31 30 2c 30 |ves.....| 30,10,0|
|00001080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001090| 20 20 20 20 20 3b 20 44 | 69 73 70 6c 61 79 20 74 | ; D|isplay t|
|000010a0| 65 6e 74 00 2e 6d 61 69 | 6e 5f 67 61 6d 65 3a 00 |ent..mai|n_game:.|
|000010b0| 00 80 0c 20 80 89 20 b1 | 02 28 24 34 35 29 20 20 |... .. .|.($45) |
|000010c0| 20 20 20 20 20 20 20 3b | 20 77 68 69 6c 65 20 65 | ;| while e|
|000010d0| 73 63 61 70 65 20 6b 65 | 79 20 20 6e 6f 74 20 70 |scape ke|y not p|
|000010e0| 72 65 73 73 65 64 00 20 | 20 20 20 20 20 20 20 20 |ressed. | |
|000010f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001100| 20 20 20 20 20 20 20 20 | 3b 20 77 61 69 74 20 66 | |; wait f|
|00001110| 6f 72 20 75 73 65 72 20 | 74 6f 20 73 74 61 72 74 |or user |to start|
|00001120| 20 67 61 6d 65 00 00 20 | 20 80 0b 20 df 04 28 30 | game.. | .. ..(0|
|00001130| 29 3d 31 20 80 42 20 80 | 89 20 67 61 6d 65 5f 73 |)=1 .B .|. game_s|
|00001140| 74 61 72 74 65 64 00 20 | 20 20 67 61 6d 65 5f 73 |tarted. | game_s|
|00001150| 74 61 72 74 65 64 20 3d | 20 bc 0e 00 20 20 20 ba |tarted =| ... .|
|00001160| 04 20 30 2c 31 00 20 20 | 80 c0 00 00 20 20 80 06 |. 0,1. |.... ..|
|00001170| 20 64 69 73 70 6c 61 79 | 5f 62 69 74 6d 61 70 73 | display|_bitmaps|
|00001180| 20 20 20 20 20 20 20 20 | 20 20 3b 20 44 69 73 70 | | ; Disp|
|00001190| 6c 61 79 20 73 63 72 65 | 65 6e 20 62 69 74 6d 61 |lay scre|en bitma|
|000011a0| 70 73 20 30 20 61 6e 64 | 20 31 00 00 20 20 80 06 |ps 0 and| 1.. ..|
|000011b0| 20 6d 6f 76 65 5f 73 65 | 65 73 61 77 20 20 20 20 | move_se|esaw |
|000011c0| 20 20 20 20 20 20 20 20 | 20 20 3b 20 4d 6f 76 65 | | ; Move|
|000011d0| 20 73 65 65 20 73 61 77 | 20 77 69 74 68 20 6d 6f | see saw| with mo|
|000011e0| 75 73 65 00 00 20 20 80 | 0b 20 67 61 6d 65 5f 73 |use.. .|. game_s|
|000011f0| 74 61 72 74 65 64 20 20 | 20 20 20 20 20 20 20 20 |tarted | |
|00001200| 20 20 20 20 20 20 3b 20 | 49 66 20 70 6c 61 79 65 | ; |If playe|
|00001210| 72 20 73 74 61 72 74 65 | 64 20 67 61 6d 65 20 76 |r starte|d game v|
|00001220| 69 61 20 6c 65 66 74 20 | 6d 6f 75 73 65 20 62 75 |ia left |mouse bu|
|00001230| 74 74 6f 6e 00 00 20 20 | 20 20 80 0b 20 6d 61 6e |tton.. | .. man|
|00001240| 79 20 3e 3d 20 32 34 30 | 20 20 20 20 20 20 20 20 |y >= 240| |
|00001250| 20 20 20 20 20 20 20 3b | 20 49 66 20 63 6c 6f 77 | ;| If clow|
|00001260| 6e 20 62 65 6c 6f 77 20 | 73 65 65 73 61 77 00 20 |n below |seesaw. |
|00001270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001280| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001290| 3b 20 63 6c 6f 77 6e 20 | 64 65 61 64 00 20 20 20 |; clown |dead. |
|000012a0| 20 20 80 06 20 63 6c 6f | 77 6e 5f 64 65 61 74 68 | .. clo|wn_death|
|000012b0| 00 00 20 20 20 20 80 22 | 20 20 20 20 20 20 20 20 |.. ."| |
|000012c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012d0| 20 3b 20 45 6c 73 65 20 | 64 6f 20 6d 61 69 6e 20 | ; Else |do main |
|000012e0| 67 61 6d 65 20 63 68 65 | 63 6b 73 20 61 6e 64 20 |game che|cks and |
|000012f0| 6d 6f 76 65 73 00 00 20 | 20 20 20 20 20 80 0b 20 |moves.. | .. |
|00001300| 66 6c 79 2e 62 20 20 20 | 20 20 20 20 20 20 20 20 |fly.b | |
|00001310| 20 20 20 20 20 20 20 20 | 3b 20 49 66 20 77 69 6e | |; If win|
|00001320| 67 73 20 68 61 76 65 20 | 62 65 65 6e 20 63 61 75 |gs have |been cau|
|00001330| 67 68 74 20 74 68 65 6e | 20 6d 6f 76 65 20 63 6c |ght then| move cl|
|00001340| 6f 77 6e 00 20 20 20 20 | 20 20 20 20 66 74 69 6d |own. | ftim|
|00001350| 65 6f 75 74 2e 77 20 2b | 20 31 20 20 20 20 20 20 |eout.w +| 1 |
|00001360| 20 20 20 20 20 3b 20 75 | 70 20 73 63 72 65 65 6e | ; u|p screen|
|00001370| 20 77 68 65 6e 20 6d 6f | 75 73 65 20 62 75 74 74 | when mo|use butt|
|00001380| 6f 6e 20 70 72 65 73 73 | 65 64 20 66 6f 72 00 20 |on press|ed for. |
|00001390| 20 20 20 20 20 20 20 80 | 0b 20 66 74 69 6d 65 6f | .|. ftimeo|
|000013a0| 75 74 20 3e 20 34 30 30 | 20 20 20 20 20 20 20 20 |ut > 400| |
|000013b0| 3b 20 61 20 6c 69 6d 69 | 74 65 64 20 70 65 72 69 |; a limi|ted peri|
|000013c0| 6f 64 2e 00 20 20 20 20 | 20 20 20 20 20 20 66 6c |od.. | fl|
|000013d0| 79 20 3d 20 bc 0f 00 20 | 20 20 20 20 20 20 20 20 |y = ... | |
|000013e0| 20 80 0b 20 80 89 20 28 | 62 6f 75 6e 63 65 2e 62 | .. .. (|bounce.b|
|000013f0| 20 80 8a 20 6d 6f 75 73 | 65 5f 6d 6f 76 65 2e 62 | .. mous|e_move.b|
|00001400| 29 00 20 20 20 20 20 20 | 20 20 20 20 20 20 ba 04 |). | ..|
|00001410| 20 32 2c 32 2c 36 34 2c | 36 34 20 20 20 20 20 20 | 2,2,64,|64 |
|00001420| 20 20 20 20 20 20 20 20 | 3b 20 72 65 6d 6f 76 65 | |; remove|
|00001430| 20 6c 6f 6f 70 69 6e 67 | 20 62 6f 6e 75 73 20 73 | looping| bonus s|
|00001440| 6f 75 6e 64 00 20 20 20 | 20 20 20 20 20 20 20 80 |ound. | .|
|00001450| c0 00 20 20 20 20 20 20 | 20 20 80 c0 00 20 20 20 |.. | ... |
|00001460| 20 20 20 20 20 80 0b 20 | 6d 61 6e 64 79 20 3e 20 | .. |mandy > |
|00001470| 30 20 20 80 42 20 df 04 | 28 30 29 20 3c 3e 20 30 |0 .B ..|(0) <> 0|
|00001480| 20 20 20 20 20 3b 20 41 | 6c 6c 6f 77 20 63 6c 6f | ; A|llow clo|
|00001490| 77 6e 20 74 6f 20 6d 6f | 76 65 20 75 70 77 61 72 |wn to mo|ve upwar|
|000014a0| 64 73 00 20 20 20 20 20 | 20 20 20 20 20 6d 61 6e |ds. | man|
|000014b0| 64 79 20 3d 20 2d 6d 61 | 6e 64 79 00 20 20 20 20 |dy = -ma|ndy. |
|000014c0| 20 20 20 20 80 c0 00 20 | 20 20 20 20 20 80 c0 00 | ... | ...|
|000014d0| 00 3b 20 49 6e 63 72 65 | 6d 65 6e 74 20 63 6c 6f |.; Incre|ment clo|
|000014e0| 77 6e 20 78 20 61 6e 64 | 20 79 20 73 63 72 65 65 |wn x and| y scree|
|000014f0| 6e 20 70 6f 73 69 74 69 | 6f 6e 20 61 6e 64 20 63 |n positi|on and c|
|00001500| 68 65 63 6b 20 62 6f 75 | 6e 64 61 72 69 65 73 00 |heck bou|ndaries.|
|00001510| 00 20 20 20 20 20 20 80 | 06 20 63 68 61 6e 67 65 |. .|. change|
|00001520| 5f 63 6c 6f 77 6e 5f 70 | 6f 73 69 74 69 6f 6e 00 |_clown_p|osition.|
|00001530| 00 3b 20 63 68 65 63 6b | 20 46 6f 72 20 63 6f 6c |.; check| For col|
|00001540| 6c 69 73 69 6f 6e 20 77 | 69 74 68 20 73 65 65 20 |lision w|ith see |
|00001550| 73 61 77 00 00 20 20 20 | 20 20 20 80 06 20 73 65 |saw.. | .. se|
|00001560| 65 5f 73 61 77 5f 63 6f | 6c 6c 69 73 69 6f 6e 00 |e_saw_co|llision.|
|00001570| 00 3b 20 62 6c 69 74 20 | 63 6c 6f 77 6e 20 6f 6e |.; blit |clown on|
|00001580| 74 6f 20 62 69 74 6d 61 | 70 20 30 00 00 20 20 20 |to bitma|p 0.. |
|00001590| 20 20 20 c9 02 20 30 2c | 6d 61 6e 2c 6d 61 6e 78 | .. 0,|man,manx|
|000015a0| 2c 6d 61 6e 79 00 00 20 | 20 20 20 20 20 80 0b 20 |,many.. | .. |
|000015b0| 70 6f 70 70 65 64 2e 62 | 20 20 20 20 20 20 20 20 |popped.b| |
|000015c0| 20 20 20 20 20 20 20 20 | 20 3b 20 44 69 73 70 6c | | ; Displ|
|000015d0| 61 79 20 62 61 6c 6f 6f | 6e 20 65 78 70 6c 6f 73 |ay baloo|n explos|
|000015e0| 69 6f 6e 00 20 20 20 20 | 20 20 20 20 c9 02 20 30 |ion. | .. 0|
|000015f0| 2c 70 6f 70 70 65 64 5f | 69 6e 64 65 78 2c 73 61 |,popped_|index,sa|
|00001600| 76 65 5f 70 6f 70 78 2e | 77 2c 73 61 76 65 5f 70 |ve_popx.|w,save_p|
|00001610| 6f 70 79 2e 77 00 20 20 | 20 20 20 20 20 20 80 0b |opy.w. | ..|
|00001620| 20 70 6f 70 70 65 64 5f | 69 6e 64 65 78 20 3d 20 | popped_|index = |
|00001630| 32 35 00 20 20 20 20 20 | 20 20 20 20 20 70 6f 70 |25. | pop|
|00001640| 70 65 64 20 3d 20 bc 0f | 00 20 20 20 20 20 20 20 |ped = ..|. |
|00001650| 20 20 20 70 6f 70 70 65 | 64 5f 69 6e 64 65 78 20 | poppe|d_index |
|00001660| 3d 20 31 35 00 20 20 20 | 20 20 20 20 20 80 c0 00 |= 15. | ...|
|00001670| 20 20 20 20 20 20 20 20 | 70 6f 70 70 65 64 5f 69 | |popped_i|
|00001680| 6e 64 65 78 20 2b 20 31 | 00 20 20 20 20 20 80 c0 |ndex + 1|. ..|
|00001690| 00 00 3b 20 43 68 65 63 | 6b 20 66 6f 72 20 43 6c |..; Chec|k for Cl|
|000016a0| 6f 77 6e 2f 42 61 6c 6f | 6f 6e 20 63 6f 6c 6c 69 |own/Balo|on colli|
|000016b0| 73 69 6f 6e 00 00 20 20 | 20 20 20 20 80 0b 20 6d |sion.. | .. m|
|000016c0| 61 6e 79 20 3c 20 31 33 | 30 00 20 20 20 20 20 20 |any < 13|0. |
|000016d0| 20 20 80 06 20 42 61 6c | 6f 6f 6e 5f 63 6f 6c 6c | .. Bal|oon_coll|
|000016e0| 69 73 69 6f 6e 00 20 20 | 20 20 20 20 80 c0 00 00 |ision. | ....|
|000016f0| 3b 20 43 61 6c 63 75 6c | 61 74 65 20 79 20 69 6e |; Calcul|ate y in|
|00001700| 63 72 65 6d 65 6e 74 20 | 66 6f 72 20 63 6c 6f 77 |crement |for clow|
|00001710| 6e 20 70 72 6f 76 69 64 | 69 6e 67 20 61 20 6b 69 |n provid|ing a ki|
|00001720| 6e 64 20 6f 66 20 67 72 | 61 76 69 74 79 20 65 66 |nd of gr|avity ef|
|00001730| 66 65 63 74 00 00 20 20 | 20 20 20 20 80 06 20 63 |fect.. | .. c|
|00001740| 6c 6f 77 6e 5f 79 5f 76 | 65 6c 6f 63 69 74 79 00 |lown_y_v|elocity.|
|00001750| 00 20 20 20 20 20 20 80 | 0b 20 72 65 6c 65 61 73 |. .|. releas|
|00001760| 65 64 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 |ed | ; |
|00001770| 49 66 20 62 6f 6e 75 73 | 20 73 68 61 70 65 20 68 |If bonus| shape h|
|00001780| 61 73 20 62 65 65 6e 20 | 72 65 6c 65 61 73 65 64 |as been |released|
|00001790| 20 74 68 65 6e 00 20 20 | 20 20 20 20 20 80 06 20 | then. | .. |
|000017a0| 62 6f 6e 75 73 5f 72 65 | 6c 65 61 73 65 20 20 20 |bonus_re|lease |
|000017b0| 3b 20 69 6d 70 6c 65 6d | 65 6e 74 20 62 6f 6e 75 |; implem|ent bonu|
|000017c0| 73 20 72 65 6c 65 61 73 | 65 20 73 75 62 72 6f 75 |s releas|e subrou|
|000017d0| 74 69 6e 65 00 20 20 20 | 20 20 20 80 c0 00 00 20 |tine. | .... |
|000017e0| 20 20 20 80 c0 00 00 20 | 20 80 22 20 20 20 20 20 | .... | ." |
|000017f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001800| 3b 20 77 61 69 74 69 6e | 67 20 74 6f 20 73 74 61 |; waitin|g to sta|
|00001810| 72 74 20 67 61 6d 65 00 | 20 20 20 20 c9 02 20 30 |rt game.| .. 0|
|00001820| 2c 35 2c 6d 61 6e 78 2c | 6d 61 6e 79 20 20 20 20 |,5,manx,|many |
|00001830| 3b 20 62 6c 69 74 20 63 | 6c 6f 77 6e 20 61 74 20 |; blit c|lown at |
|00001840| 62 6f 74 74 6f 6d 20 6c | 65 66 74 20 6f 66 20 73 |bottom l|eft of s|
|00001850| 63 72 65 65 6e 00 20 20 | 20 20 80 06 20 73 63 6f |creen. | .. sco|
|00001860| 72 65 5f 64 69 73 70 6c | 61 79 20 20 20 20 3b 00 |re_displ|ay ;.|
|00001870| 20 20 80 c0 00 00 80 c1 | 00 00 80 02 00 00 3b 3b | ......|......;;|
|00001880| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001890| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000018a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000018b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 00 2e |;;;;;;;;|;;;;;;..|
|000018c0| 73 65 74 75 70 5f 62 61 | 6c 6f 6f 6e 73 3a 00 00 |setup_ba|loons:..|
|000018d0| 80 2c 20 d0 01 20 30 00 | 00 3b 20 52 65 64 75 63 |., .. 0.|.; Reduc|
|000018e0| 65 20 73 70 65 65 64 20 | 74 6f 20 67 69 76 65 20 |e speed |to give |
|000018f0| 70 6c 61 79 65 72 20 61 | 20 63 68 61 6e 63 65 00 |player a| chance.|
|00001900| 00 00 3b 20 42 6c 69 74 | 20 62 61 6c 6f 6f 6e 20 |..; Blit| baloon |
|00001910| 73 68 61 70 65 73 20 6f | 6e 74 6f 20 62 69 74 6d |shapes o|nto bitm|
|00001920| 61 70 20 31 20 69 6e 20 | 33 20 72 6f 77 73 20 6f |ap 1 in |3 rows o|
|00001930| 66 20 33 20 63 6f 6c 6f | 75 72 73 00 00 20 20 80 |f 3 colo|urs.. .|
|00001940| 16 20 73 63 72 65 65 6e | 78 20 3d 20 31 30 20 80 |. screen|x = 10 .|
|00001950| 18 20 33 31 30 20 80 19 | 20 33 32 00 20 20 20 20 |. 310 ..| 32. |
|00001960| 20 cb 01 20 30 2c 73 63 | 72 65 65 6e 78 2c 31 30 | .. 0,sc|reenx,10|
|00001970| 00 20 20 20 20 20 cb 01 | 20 31 2c 73 63 72 65 65 |. ..| 1,scree|
|00001980| 6e 78 2c 34 38 00 20 20 | 20 20 20 cb 01 20 32 2c |nx,48. | .. 2,|
|00001990| 73 63 72 65 65 6e 78 2c | 38 36 00 20 20 80 17 00 |screenx,|86. ...|
|000019a0| 00 3b 20 69 6e 69 74 69 | 61 6c 69 73 65 20 6e 75 |.; initi|alise nu|
|000019b0| 6d 62 65 72 20 6f 66 20 | 62 61 6c 6f 6f 6e 73 20 |mber of |baloons |
|000019c0| 70 6f 70 70 65 64 20 63 | 6f 75 6e 74 65 72 20 74 |popped c|ounter t|
|000019d0| 6f 20 30 00 00 20 20 62 | 61 6c 6f 6f 6e 5f 63 6f |o 0.. b|aloon_co|
|000019e0| 75 6e 74 3d 30 00 00 3b | 20 63 6f 70 79 20 6c 65 |unt=0..;| copy le|
|000019f0| 66 74 20 68 61 6c 66 20 | 6f 66 20 62 69 74 6d 61 |ft half |of bitma|
|00001a00| 70 20 74 6f 20 74 68 65 | 20 72 69 67 68 74 20 6f |p to the| right o|
|00001a10| 66 20 66 6f 72 20 73 6d | 6f 6f 74 68 20 73 63 72 |f for sm|ooth scr|
|00001a20| 6f 6c 6c 00 3b 20 6f 66 | 20 74 68 65 20 62 61 6c |oll.; of| the bal|
|00001a30| 6f 6f 6e 73 2e 00 00 00 | 00 20 20 b2 01 20 30 2c |oons....|. .. 0,|
|00001a40| 30 2c 33 32 30 2c 32 35 | 36 2c 33 32 30 2c 30 00 |0,320,25|6,320,0.|
|00001a50| 00 3b 20 20 42 6f 78 66 | 20 30 2c 32 34 35 2c 36 |.; Boxf| 0,245,6|
|00001a60| 35 30 2c 32 35 30 2c 32 | 00 3b 20 73 65 74 20 65 |50,250,2|.; set e|
|00001a70| 6c 65 6d 65 6e 74 73 20 | 6f 66 20 62 61 6c 6f 6f |lements |of baloo|
|00001a80| 6e 20 70 6f 70 70 65 64 | 20 61 72 72 61 79 20 74 |n popped| array t|
|00001a90| 6f 20 74 72 75 65 00 00 | 20 20 80 16 20 79 61 2e |o true..| .. ya.|
|00001aa0| 62 3d 30 20 80 18 20 32 | 00 20 20 20 20 80 16 20 |b=0 .. 2|. .. |
|00001ab0| 78 61 2e 62 3d 20 31 20 | 80 18 20 31 30 00 20 20 |xa.b= 1 |.. 10. |
|00001ac0| 20 20 20 20 62 61 6c 6f | 6f 6e 28 78 61 2c 79 61 | balo|on(xa,ya|
|00001ad0| 29 20 3d 20 bc 0e 00 20 | 20 20 20 80 17 00 20 20 |) = ... | ... |
|00001ae0| 80 17 00 00 20 20 62 61 | 6c 6f 6f 6e 5f 73 65 74 |.... ba|loon_set|
|00001af0| 75 70 2e 77 3d 62 61 6c | 6f 6f 6e 5f 73 65 74 75 |up.w=bal|oon_setu|
|00001b00| 70 2b 31 20 20 3b 20 42 | 6f 6e 75 73 20 65 76 65 |p+1 ; B|onus eve|
|00001b10| 72 79 20 36 20 73 63 72 | 65 65 6e 73 00 20 20 80 |ry 6 scr|eens. .|
|00001b20| 0b 20 62 61 6c 6f 6f 6e | 5f 73 65 74 75 70 20 3d |. baloon|_setup =|
|00001b30| 20 36 00 20 20 20 20 62 | 61 6c 6f 6f 6e 5f 73 65 | 6. b|aloon_se|
|00001b40| 74 75 70 20 3d 20 30 00 | 20 20 20 20 62 6f 6e 75 |tup = 0.| bonu|
|00001b50| 73 5f 74 79 70 65 2e 62 | 20 3d 20 31 00 20 20 20 |s_type.b| = 1. |
|00001b60| 20 80 06 20 62 6f 6e 75 | 73 00 20 20 80 c0 00 00 | .. bonu|s. ....|
|00001b70| 80 07 00 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |...;;;;;|;;;;;;;;|
|00001b80| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001b90| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001ba0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00001bb0| 3b 3b 3b 3b 00 2e 42 61 | 6c 6f 6f 6e 5f 63 6f 6c |;;;;..Ba|loon_col|
|00001bc0| 6c 69 73 69 6f 6e 3a 00 | 00 3b 20 63 68 65 63 6b |lision:.|.; check|
|00001bd0| 20 62 61 6c 6f 6f 6e 20 | 63 6f 6c 6c 69 73 69 6f | baloon |collisio|
|00001be0| 6e 20 77 69 74 68 20 63 | 6c 6f 77 6e 20 75 73 69 |n with c|lown usi|
|00001bf0| 6e 67 20 62 69 74 6d 61 | 70 20 30 20 74 6f 20 64 |ng bitma|p 0 to d|
|00001c00| 65 74 65 63 74 20 62 61 | 6c 6f 6f 6e 20 63 6f 6c |etect ba|loon col|
|00001c10| 6c 69 73 69 6f 6e 73 00 | 00 20 20 80 2c 20 d0 01 |lisions.|. ., ..|
|00001c20| 20 30 00 00 20 20 63 68 | 65 63 6b 63 6f 6c 2e 77 | 0.. ch|eckcol.w|
|00001c30| 3d bc 0a 20 28 6d 61 6e | 78 2b 78 2e 77 2c 30 2c |=.. (man|x+x.w,0,|
|00001c40| 36 34 30 29 00 20 20 80 | 0b 20 cb 09 20 28 35 2c |640). .|. .. (5,|
|00001c50| 63 68 65 63 6b 63 6f 6c | 2c 6d 61 6e 79 29 20 20 |checkcol|,many) |
|00001c60| 80 8a 20 cb 09 20 28 36 | 2c 63 68 65 63 6b 63 6f |.. .. (6|,checkco|
|00001c70| 6c 2c 6d 61 6e 79 29 00 | 20 20 20 20 ba 04 20 31 |l,many).| .. 1|
|00001c80| 2c 31 00 00 20 20 20 20 | 62 61 6c 6f 6f 6e 5f 70 |,1.. |baloon_p|
|00001c90| 6f 70 70 65 64 2e 77 3d | 28 63 68 65 63 6b 63 6f |opped.w=|(checkco|
|00001ca0| 6c 29 2f 33 32 20 20 20 | 20 3b 20 47 65 74 20 74 |l)/32 | ; Get t|
|00001cb0| 68 65 20 62 61 6c 6f 6f | 6e 20 6e 75 6d 62 65 72 |he baloo|n number|
|00001cc0| 20 28 30 20 74 6f 20 31 | 39 29 00 20 20 20 20 20 | (0 to 1|9). |
|00001cd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|00001cf0| 74 68 61 74 20 68 61 73 | 20 62 65 65 6e 20 68 69 |that has| been hi|
|00001d00| 74 20 62 79 20 74 68 65 | 20 63 6c 6f 77 6e 00 00 |t by the| clown..|
|00001d10| 20 20 20 20 80 0b 20 62 | 61 6c 6f 6f 6e 5f 70 6f | .. b|aloon_po|
|00001d20| 70 70 65 64 20 3c 20 31 | 30 20 20 20 20 20 20 20 |pped < 1|0 |
|00001d30| 20 20 20 3b 20 73 65 74 | 20 74 68 65 20 61 72 72 | ; set| the arr|
|00001d40| 61 79 20 78 20 63 6f 6f | 72 64 69 6e 61 74 65 20 |ay x coo|rdinate |
|00001d50| 74 6f 00 20 20 20 20 20 | 20 78 61 20 3d 20 62 61 |to. | xa = ba|
|00001d60| 6c 6f 6f 6e 5f 70 6f 70 | 70 65 64 2b 31 20 20 20 |loon_pop|ped+1 |
|00001d70| 20 20 20 20 20 20 3b 20 | 74 68 65 20 62 61 6c 6f | ; |the balo|
|00001d80| 6f 6e 20 6e 75 6d 62 65 | 72 20 70 6f 70 70 65 64 |on numbe|r popped|
|00001d90| 00 20 20 20 20 80 22 00 | 20 20 20 20 20 20 78 61 |. .".| xa|
|00001da0| 20 3d 20 62 61 6c 6f 6f | 6e 5f 70 6f 70 70 65 64 | = baloo|n_popped|
|00001db0| 2d 39 00 20 20 20 20 80 | c0 00 00 3b 20 4f 62 74 |-9. .|...; Obt|
|00001dc0| 61 69 6e 20 74 68 65 20 | 62 61 6c 6f 6f 6e 20 72 |ain the |baloon r|
|00001dd0| 6f 77 20 63 6c 6f 77 6e | 20 68 61 73 20 63 6f 6c |ow clown| has col|
|00001de0| 6c 69 64 65 64 20 77 69 | 74 68 20 74 6f 20 65 6e |lided wi|th to en|
|00001df0| 73 75 72 65 20 74 68 65 | 20 62 61 6c 6f 6f 6e 20 |sure the| baloon |
|00001e00| 74 6f 20 62 65 00 3b 20 | 70 6f 70 70 65 64 20 69 |to be.; |popped i|
|00001e10| 73 20 74 68 65 20 63 6f | 72 72 65 63 74 20 6f 6e |s the co|rrect on|
|00001e20| 65 2e 20 54 68 65 20 63 | 6f 6c 6c 69 73 69 6f 6e |e. The c|ollision|
|00001e30| 20 72 6f 75 74 69 6e 65 | 20 61 70 70 65 61 72 73 | routine| appears|
|00001e40| 20 74 6f 20 62 65 20 63 | 6f 6d 70 6c 65 78 2c 00 | to be c|omplex,.|
|00001e50| 3b 20 54 68 69 73 20 69 | 73 20 70 61 72 74 6c 79 |; This i|s partly|
|00001e60| 20 64 75 65 20 74 6f 20 | 74 68 65 20 66 61 63 74 | due to |the fact|
|00001e70| 20 74 68 61 74 20 74 68 | 65 20 65 78 61 63 74 20 | that th|e exact |
|00001e80| 78 20 61 6e 64 20 79 20 | 63 6f 6f 72 64 69 6e 61 |x and y |coordina|
|00001e90| 74 65 20 6f 66 20 74 68 | 65 20 70 6f 69 6e 74 00 |te of th|e point.|
|00001ea0| 3b 20 74 68 65 20 73 68 | 61 70 65 20 6d 61 64 65 |; the sh|ape made|
|00001eb0| 20 63 6f 6e 74 61 63 74 | 20 77 69 74 68 20 74 68 | contact| with th|
|00001ec0| 65 20 6e 6f 6e 20 7a 65 | 72 6f 20 63 6f 6c 6f 75 |e non ze|ro colou|
|00001ed0| 72 20 63 61 6e 6e 6f 74 | 20 62 65 20 64 65 74 65 |r cannot| be dete|
|00001ee0| 72 6d 69 6e 65 64 2e 20 | 54 68 69 73 00 3b 20 66 |rmined. |This.; f|
|00001ef0| 75 6e 63 74 69 6f 6e 20 | 77 6f 75 6c 64 20 62 65 |unction |would be|
|00001f00| 20 61 20 77 65 6c 63 6f | 6d 65 20 61 64 64 69 74 | a welco|me addit|
|00001f10| 69 6f 6e 20 74 6f 20 42 | 6c 69 74 7a 20 42 41 53 |ion to B|litz BAS|
|00001f20| 49 43 2e 00 00 20 20 20 | 20 80 0b 20 6d 61 6e 64 |IC... | .. mand|
|00001f30| 79 20 3c 20 30 20 20 20 | 20 20 20 20 20 20 20 20 |y < 0 | |
|00001f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|00001f50| 43 6c 6f 77 6e 20 61 73 | 63 65 6e 64 69 6e 67 00 |Clown as|cending.|
|00001f60| 20 20 20 20 20 20 80 16 | 20 63 68 65 63 6b 79 2e | ..| checky.|
|00001f70| 62 20 3d 20 20 38 36 20 | 80 18 20 31 30 20 80 19 |b = 86 |.. 10 ..|
|00001f80| 20 2d 33 38 00 20 20 20 | 20 20 20 20 20 80 0b 20 | -38. | .. |
|00001f90| b4 09 28 6d 61 6e 78 2d | 31 30 2c 6d 61 6e 79 2d |..(manx-|10,many-|
|00001fa0| 31 33 2c 31 39 2c 32 35 | 2c 6d 61 6e 78 2d 31 30 |13,19,25|,manx-10|
|00001fb0| 2c 63 68 65 63 6b 79 2d | 32 2c 6d 61 6e 78 2b 31 |,checky-|2,manx+1|
|00001fc0| 30 2c 32 35 29 00 20 20 | 20 20 20 20 20 20 20 70 |0,25). | p|
|00001fd0| 6f 70 79 2e 77 20 3d 20 | 63 68 65 63 6b 79 20 20 |opy.w = |checky |
|00001fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|00001ff0| 20 59 20 63 6f 6f 72 64 | 69 6e 61 74 65 20 6f 66 | Y coord|inate of|
|00002000| 20 62 61 6c 6f 6f 6e 20 | 74 6f 20 62 65 20 65 72 | baloon |to be er|
|00002010| 61 73 65 64 00 20 20 20 | 20 20 20 20 20 20 20 20 |ased. | |
|00002020| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|00002040| 72 6f 77 20 6e 75 6d 62 | 65 72 20 30 20 74 6f 20 |row numb|er 0 to |
|00002050| 32 20 66 6f 72 20 61 72 | 72 61 79 20 63 68 65 63 |2 for ar|ray chec|
|00002060| 6b 00 20 20 20 20 20 20 | 20 20 20 79 61 20 3d 20 |k. | ya = |
|00002070| 63 68 65 63 6b 79 2f 34 | 33 00 20 20 20 20 20 20 |checky/4|3. |
|00002080| 20 20 80 c0 00 20 20 20 | 20 20 20 80 17 00 20 20 | ... | ... |
|00002090| 20 20 80 22 20 20 20 20 | 20 20 20 20 20 20 20 20 | ." | |
|000020a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020b0| 20 20 20 3b 20 43 6c 6f | 77 6e 20 64 65 73 63 65 | ; Clo|wn desce|
|000020c0| 6e 64 69 6e 67 20 72 65 | 76 65 72 73 65 20 72 6f |nding re|verse ro|
|000020d0| 77 20 70 72 69 6f 72 69 | 74 79 00 20 20 20 20 20 |w priori|ty. |
|000020e0| 20 80 16 20 63 68 65 63 | 6b 79 2e 62 20 3d 20 31 | .. chec|ky.b = 1|
|000020f0| 30 20 80 18 20 38 36 20 | 80 19 20 33 38 00 20 20 |0 .. 86 |.. 38. |
|00002100| 20 20 20 20 20 20 80 0b | 20 b4 09 28 6d 61 6e 78 | ..| ..(manx|
|00002110| 2d 31 30 2c 6d 61 6e 79 | 2d 31 33 2c 31 39 2c 32 |-10,many|-13,19,2|
|00002120| 35 2c 6d 61 6e 78 2d 31 | 30 2c 63 68 65 63 6b 79 |5,manx-1|0,checky|
|00002130| 2d 32 2c 6d 61 6e 78 2b | 31 30 2c 32 35 29 00 20 |-2,manx+|10,25). |
|00002140| 20 20 20 20 20 20 20 20 | 20 70 6f 70 79 20 3d 20 | | popy = |
|00002150| 63 68 65 63 6b 79 00 20 | 20 20 20 20 20 20 20 20 |checky. | |
|00002160| 20 79 61 20 3d 20 63 68 | 65 63 6b 79 2f 34 33 00 | ya = ch|ecky/43.|
|00002170| 20 20 20 20 20 20 20 20 | 80 c0 00 20 20 20 20 20 | |... |
|00002180| 20 80 17 00 20 20 20 20 | 80 c0 00 00 20 20 20 20 | ... |.... |
|00002190| 80 0e 20 79 61 00 20 20 | 20 20 20 80 0f 20 32 00 |.. ya. | .. 2.|
|000021a0| 20 20 20 20 20 20 73 63 | 6f 72 65 3d 73 63 6f 72 | sc|ore=scor|
|000021b0| 65 2b 31 30 00 20 20 20 | 20 20 20 70 6f 70 70 65 |e+10. | poppe|
|000021c0| 64 5f 73 63 6f 72 65 20 | 3d 20 31 35 00 20 20 20 |d_score |= 15. |
|000021d0| 20 20 80 0f 20 31 00 20 | 20 20 20 20 20 73 63 6f | .. 1. | sco|
|000021e0| 72 65 20 3d 20 73 63 6f | 72 65 20 2b 20 32 35 00 |re = sco|re + 25.|
|000021f0| 20 20 20 20 20 20 70 6f | 70 70 65 64 5f 73 63 6f | po|pped_sco|
|00002200| 72 65 20 3d 20 31 36 00 | 20 20 20 20 20 80 0f 20 |re = 16.| .. |
|00002210| 30 00 20 20 20 20 20 20 | 73 63 6f 72 65 20 3d 20 |0. |score = |
|00002220| 73 63 6f 72 65 20 2b 20 | 35 30 00 20 20 20 20 20 |score + |50. |
|00002230| 20 70 6f 70 70 65 64 5f | 73 63 6f 72 65 20 3d 20 | popped_|score = |
|00002240| 31 37 00 20 20 20 20 80 | 02 20 80 0e 00 00 20 20 |17. .|. .... |
|00002250| 20 20 80 06 20 73 63 6f | 72 65 5f 64 69 73 70 6c | .. sco|re_displ|
|00002260| 61 79 00 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ay. | |
|00002270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002280| 20 20 20 20 20 20 3b 20 | 49 66 20 74 68 65 20 62 | ; |If the b|
|00002290| 61 6c 6f 6f 6e 20 68 61 | 73 20 61 6c 72 65 61 64 |aloon ha|s alread|
|000022a0| 79 20 62 65 65 6e 20 70 | 6f 70 70 65 64 00 20 20 |y been p|opped. |
|000022b0| 20 20 80 0b 20 80 89 20 | 62 61 6c 6f 6f 6e 28 78 | .. .. |baloon(x|
|000022c0| 61 2c 79 61 29 20 20 20 | 20 20 20 20 20 20 20 20 |a,ya) | |
|000022d0| 3b 20 74 68 65 6e 20 74 | 68 65 20 63 75 72 72 65 |; then t|he curre|
|000022e0| 6e 74 20 78 20 63 6f 6f | 72 64 69 6e 61 74 65 20 |nt x coo|rdinate |
|000022f0| 6f 66 20 74 68 65 00 20 | 20 20 20 20 20 80 0b 20 |of the. | .. |
|00002300| 80 89 20 62 61 6c 6f 6f | 6e 28 78 61 2d 31 2c 79 |.. baloo|n(xa-1,y|
|00002310| 61 29 20 20 20 20 20 20 | 20 3b 20 63 6c 6f 77 6e |a) | ; clown|
|00002320| 20 69 73 20 6e 6f 74 20 | 63 6f 72 72 65 63 74 20 | is not |correct |
|00002330| 66 6f 72 20 74 68 65 20 | 62 61 6c 6f 6f 6e 20 74 |for the |baloon t|
|00002340| 6f 20 62 65 00 20 20 20 | 20 20 20 20 20 62 61 6c |o be. | bal|
|00002350| 6f 6f 6e 5f 70 6f 70 70 | 65 64 20 2b 20 31 20 20 |oon_popp|ed + 1 |
|00002360| 20 20 20 20 20 20 20 20 | 3b 20 70 6f 70 70 65 64 | |; popped|
|00002370| 2c 20 74 68 65 72 65 66 | 6f 72 65 20 70 6f 70 20 |, theref|ore pop |
|00002380| 74 68 65 20 6f 6e 65 20 | 62 65 66 6f 72 65 20 69 |the one |before i|
|00002390| 74 20 6f 72 00 20 20 20 | 20 20 20 20 20 78 61 2b |t or. | xa+|
|000023a0| 31 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |1 | |
|000023b0| 20 20 20 20 20 20 20 20 | 3b 20 74 68 65 20 6f 6e | |; the on|
|000023c0| 65 20 61 66 74 65 72 20 | 69 74 20 64 65 70 65 6e |e after |it depen|
|000023d0| 64 69 6e 67 20 6f 6e 20 | 77 68 69 63 68 20 6f 6e |ding on |which on|
|000023e0| 65 20 65 78 69 73 74 73 | 2e 00 20 20 20 20 20 20 |e exists|.. |
|000023f0| 80 22 00 20 20 20 20 20 | 20 20 20 62 61 6c 6f 6f |.". | baloo|
|00002400| 6e 5f 70 6f 70 70 65 64 | 2d 31 00 20 20 20 20 20 |n_popped|-1. |
|00002410| 20 20 20 78 61 2d 31 00 | 20 20 20 20 20 20 80 c0 | xa-1.| ..|
|00002420| 00 20 20 20 20 80 c0 00 | 00 20 20 20 20 70 6f 70 |. ...|. pop|
|00002430| 78 2e 77 3d 62 61 6c 6f | 6f 6e 5f 70 6f 70 70 65 |x.w=balo|on_poppe|
|00002440| 64 2a 33 32 20 20 20 20 | 20 20 20 20 3b 20 67 65 |d*32 | ; ge|
|00002450| 74 20 74 68 65 20 78 20 | 63 6f 6f 72 64 69 6e 61 |t the x |coordina|
|00002460| 74 65 20 6f 66 20 74 68 | 65 20 62 61 6c 6f 6f 6e |te of th|e baloon|
|00002470| 20 74 6f 00 20 20 20 20 | 20 20 20 20 20 20 20 20 | to. | |
|00002480| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002490| 20 20 20 20 20 20 20 3b | 20 62 65 20 70 6f 70 70 | ;| be popp|
|000024a0| 65 64 2e 00 00 20 20 20 | 20 80 0b 20 62 61 6c 6f |ed... | .. balo|
|000024b0| 6f 6e 5f 70 6f 70 70 65 | 64 20 3c 20 31 30 20 20 |on_poppe|d < 10 |
|000024c0| 20 20 20 20 20 20 20 20 | 3b 20 41 73 20 62 69 74 | |; As bit|
|000024d0| 6d 61 70 20 31 20 69 73 | 20 73 63 72 6f 6c 6c 65 |map 1 is| scrolle|
|000024e0| 64 2c 20 74 68 65 20 66 | 69 72 73 74 20 68 61 6c |d, the f|irst hal|
|000024f0| 66 00 20 20 20 20 20 70 | 6f 70 78 32 2e 77 3d 70 |f. p|opx2.w=p|
|00002500| 6f 70 78 2b 33 32 30 20 | 20 20 20 20 20 20 20 20 |opx+320 | |
|00002510| 20 20 20 20 20 3b 20 6f | 66 20 74 68 65 20 62 69 | ; o|f the bi|
|00002520| 74 6d 61 70 20 68 61 73 | 20 74 6f 20 62 65 20 69 |tmap has| to be i|
|00002530| 64 65 6e 74 69 63 61 6c | 20 74 6f 20 74 68 65 00 |dentical| to the.|
|00002540| 20 20 20 20 80 22 20 20 | 20 20 20 20 20 20 20 20 | ." | |
|00002550| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002560| 20 3b 20 74 68 65 20 73 | 65 63 6f 6e 64 20 68 61 | ; the s|econd ha|
|00002570| 6c 66 2c 20 74 68 69 73 | 20 72 6f 75 74 69 6e 65 |lf, this| routine|
|00002580| 20 6f 62 74 61 69 6e 73 | 20 74 68 65 00 20 20 20 | obtains| the. |
|00002590| 20 20 70 6f 70 78 32 3d | 70 6f 70 78 2d 33 32 30 | popx2=|popx-320|
|000025a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025b0| 3b 20 78 20 63 6f 6f 72 | 64 69 6e 61 74 65 20 6f |; x coor|dinate o|
|000025c0| 66 20 74 68 65 20 62 61 | 6c 6f 6f 6e 20 74 6f 20 |f the ba|loon to |
|000025d0| 62 65 20 70 6f 70 70 65 | 64 20 6f 6e 00 20 20 20 |be poppe|d on. |
|000025e0| 20 80 c0 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | .. | |
|000025f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3b 20 74 | | ; t|
|00002600| 68 65 20 6e 6f 6e 20 64 | 69 73 70 6c 61 79 65 64 |he non d|isplayed|
|00002610| 20 70 61 72 74 20 6f 66 | 20 62 69 74 6d 61 70 20 | part of| bitmap |
|00002620| 31 2e 00 00 20 20 20 20 | 62 61 6c 6f 6f 6e 28 78 |1... |baloon(x|
|00002630| 61 2c 79 61 29 20 3d 20 | bc 0f 20 20 20 20 20 20 |a,ya) = |.. |
|00002640| 20 20 20 20 3b 20 73 65 | 74 20 74 68 65 20 62 61 | ; se|t the ba|
|00002650| 6c 6f 6f 6e 20 61 72 72 | 61 79 20 66 6f 72 20 74 |loon arr|ay for t|
|00002660| 68 65 20 62 61 6c 6f 6f | 6e 20 6a 75 73 74 00 20 |he baloo|n just. |
|00002670| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002680| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002690| 20 20 3b 20 70 6f 70 70 | 65 64 20 74 6f 20 66 61 | ; popp|ed to fa|
|000026a0| 6c 73 65 2e 00 00 20 20 | 20 20 bb 84 20 70 6f 70 |lse... | .. pop|
|000026b0| 78 2e 77 2c 70 6f 70 79 | 2e 77 2c 70 6f 70 78 2b |x.w,popy|.w,popx+|
|000026c0| 33 30 2c 70 6f 70 79 2b | 32 35 2c 30 20 20 20 3b |30,popy+|25,0 ;|
|000026d0| 20 72 65 6d 6f 76 65 20 | 62 61 6c 6f 6f 6e 20 6f | remove |baloon o|
|000026e0| 6e 20 64 69 73 70 6c 61 | 79 65 64 20 70 61 72 74 |n displa|yed part|
|000026f0| 20 6f 66 20 62 69 74 6d | 61 70 00 20 20 20 20 bb | of bitm|ap. .|
|00002700| 84 20 70 6f 70 78 32 2c | 70 6f 70 79 2c 70 6f 70 |. popx2,|popy,pop|
|00002710| 78 32 2b 33 30 2c 70 6f | 70 79 2b 32 35 2c 30 20 |x2+30,po|py+25,0 |
|00002720| 20 20 20 20 3b 20 72 65 | 6d 6f 76 65 20 62 61 6c | ; re|move bal|
|00002730| 6f 6f 6e 20 6f 6e 20 6e | 6f 6e 20 64 69 73 70 6c |oon on n|on displ|
|00002740| 61 79 65 64 20 70 61 72 | 74 20 6f 66 20 62 69 74 |ayed par|t of bit|
|00002750| 6d 61 70 00 00 20 20 20 | 20 70 6f 70 70 65 64 20 |map.. | popped |
|00002760| 3d 20 bc 0e 20 20 20 20 | 20 20 20 20 20 20 20 20 |= .. | |
|00002770| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|00002780| 61 6c 6c 6f 77 20 62 61 | 6c 6f 6f 6e 20 76 61 6c |allow ba|loon val|
|00002790| 75 65 20 74 6f 20 62 65 | 20 64 69 73 70 6c 61 79 |ue to be| display|
|000027a0| 65 64 20 77 68 65 6e 20 | 70 6f 70 70 65 64 00 20 |ed when |popped. |
|000027b0| 20 20 20 73 61 76 65 5f | 70 6f 70 78 2e 77 20 3d | save_|popx.w =|
|000027c0| 20 6d 61 6e 78 00 20 20 | 20 20 73 61 76 65 5f 70 | manx. | save_p|
|000027d0| 6f 70 79 2e 77 20 3d 20 | 70 6f 70 79 2b 31 30 00 |opy.w = |popy+10.|
|000027e0| 20 20 20 20 74 69 6d 65 | 2e 62 20 3d 20 31 30 00 | time|.b = 10.|
|000027f0| 00 20 20 20 20 62 61 6c | 6f 6f 6e 5f 63 6f 75 6e |. bal|oon_coun|
|00002800| 74 2b 31 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t+1 | |
|00002810| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 69 6e | | ; in|
|00002820| 63 72 65 6d 65 6e 74 20 | 62 61 6c 6f 6f 6e 20 63 |crement |baloon c|
|00002830| 6f 75 6e 74 65 72 2e 00 | 20 20 20 20 80 0b 20 73 |ounter..| .. s|
|00002840| 63 6f 72 65 20 3e 20 33 | 30 30 30 00 20 20 20 20 |core > 3|000. |
|00002850| 20 80 0e 20 62 61 6c 6f | 6f 6e 5f 63 6f 75 6e 74 | .. balo|on_count|
|00002860| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002870| 20 20 20 3b 20 6d 61 6b | 65 20 69 74 20 6d 6f 72 | ; mak|e it mor|
|00002880| 65 20 64 69 66 66 69 63 | 75 6c 74 20 74 68 65 20 |e diffic|ult the |
|00002890| 6d 6f 72 65 20 62 61 6c | 6f 6f 6e 73 00 20 20 20 |more bal|oons. |
|000028a0| 20 20 20 80 0f 20 30 20 | 20 20 20 20 20 20 20 20 | .. 0 | |
|000028b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000028c0| 20 20 20 20 20 20 3b 20 | 70 6f 70 70 65 64 2e 00 | ; |popped..|
|000028d0| 20 20 20 20 20 20 20 6c | 65 76 65 6c 20 3d 20 31 | l|evel = 1|
|000028e0| 30 00 20 20 20 20 20 20 | 20 6d 61 6e 64 78 20 3d |0. | mandx =|
|000028f0| 20 31 00 20 20 20 20 20 | 20 80 0f 20 32 30 00 20 | 1. | .. 20. |
|00002900| 20 20 20 20 20 20 6c 65 | 76 65 6c 20 3d 39 00 20 | le|vel =9. |
|00002910| 20 20 20 20 20 20 80 0b | 20 73 63 6f 72 65 20 3e | ..| score >|
|00002920| 20 31 30 30 30 30 20 80 | 21 20 6c 65 76 65 6c 20 | 10000 .|! level |
|00002930| 3d 20 38 00 20 20 20 20 | 20 20 20 80 0b 20 73 63 |= 8. | .. sc|
|00002940| 6f 72 65 20 3e 20 32 30 | 30 30 30 20 80 21 20 6c |ore > 20|000 .! l|
|00002950| 65 76 65 6c 20 3d 20 37 | 00 20 20 20 20 20 20 20 |evel = 7|. |
|00002960| 6d 61 6e 64 78 20 3d 20 | 31 00 20 20 20 20 20 20 |mandx = |1. |
|00002970| 80 02 20 80 0e 00 20 20 | 20 20 80 c0 00 00 20 20 |.. ... | .... |
|00002980| 20 20 6d 61 6e 64 79 20 | 3d 2d 6d 61 6e 64 79 20 | mandy |=-mandy |
|00002990| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000029a0| 20 20 20 20 20 20 20 20 | 20 3b 20 72 65 76 65 72 | | ; rever|
|000029b0| 73 65 20 79 20 64 69 72 | 65 63 74 69 6f 6e 20 6f |se y dir|ection o|
|000029c0| 66 20 63 6c 6f 77 6e 00 | 20 20 20 20 72 61 6e 64 |f clown.| rand|
|000029d0| 2e 62 3d bc 07 28 31 30 | 29 20 20 20 20 20 20 20 |.b=..(10|) |
|000029e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000029f0| 20 20 3b 20 72 65 76 65 | 72 73 65 20 78 20 64 69 | ; reve|rse x di|
|00002a00| 72 65 63 74 69 6f 6e 20 | 6f 63 63 61 73 69 6f 6e |rection |occasion|
|00002a10| 61 6c 6c 79 00 20 20 20 | 20 80 0b 20 72 61 6e 64 |ally. | .. rand|
|00002a20| 20 3c 20 36 00 20 20 20 | 20 20 20 6d 61 6e 64 78 | < 6. | mandx|
|00002a30| 3d 2d 6d 61 6e 64 78 00 | 20 20 20 20 80 c0 00 00 |=-mandx.| ....|
|00002a40| 20 20 20 20 80 0b 20 62 | 61 6c 6f 6f 6e 5f 63 6f | .. b|aloon_co|
|00002a50| 75 6e 74 20 3d 20 33 30 | 20 20 20 20 20 20 20 20 |unt = 30| |
|00002a60| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 49 66 20 | | ; If |
|00002a70| 61 6c 6c 20 62 61 6c 6f | 6f 6e 73 20 67 6f 6e 65 |all balo|ons gone|
|00002a80| 20 72 65 73 65 74 20 74 | 68 65 6d 00 20 20 20 20 | reset t|hem. |
|00002a90| 20 20 20 20 80 06 20 73 | 65 74 75 70 5f 62 61 6c | .. s|etup_bal|
|00002aa0| 6f 6f 6e 73 00 20 20 20 | 20 80 c0 00 00 20 20 20 |oons. | .... |
|00002ab0| 20 80 0b 20 78 61 20 3d | 20 35 20 80 42 20 79 61 | .. xa =| 5 .B ya|
|00002ac0| 20 3d 20 31 20 20 80 42 | 20 80 89 20 72 65 6c 65 | = 1 .B| .. rele|
|00002ad0| 61 73 65 64 20 20 20 3b | 20 52 65 6c 65 61 73 65 |ased ;| Release|
|00002ae0| 20 62 6f 6e 75 73 20 73 | 68 61 70 65 20 6f 6e 20 | bonus s|hape on |
|00002af0| 35 74 68 20 62 61 6c 6f | 6f 6e 20 70 6f 70 00 20 |5th balo|on pop. |
|00002b00| 20 20 20 20 20 72 65 6c | 65 61 73 65 64 20 3d 20 | rel|eased = |
|00002b10| bc 0e 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00002b20| 20 20 20 20 20 20 20 20 | 20 20 3b 20 6f 66 20 74 | | ; of t|
|00002b30| 68 65 20 73 65 63 6f 6e | 64 20 72 6f 77 00 20 20 |he secon|d row. |
|00002b40| 20 20 20 20 6f 62 6a 65 | 63 74 78 2e 77 20 3d 20 | obje|ctx.w = |
|00002b50| 6d 61 6e 78 00 20 20 20 | 20 20 20 6f 62 6a 65 63 |manx. | objec|
|00002b60| 74 79 2e 77 20 3d 20 70 | 6f 70 79 00 20 20 20 20 |ty.w = p|opy. |
|00002b70| 20 20 80 0b 20 72 61 6e | 64 20 3c 20 32 20 20 20 | .. ran|d < 2 |
|00002b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b90| 20 20 20 20 20 20 20 20 | 20 3b 20 20 53 65 6c 65 | | ; Sele|
|00002ba0| 63 74 20 6f 62 6a 65 63 | 74 20 74 6f 20 62 65 20 |ct objec|t to be |
|00002bb0| 72 65 6c 65 61 73 65 64 | 2c 20 74 68 69 73 20 69 |released|, this i|
|00002bc0| 73 00 20 20 20 20 20 20 | 20 20 6f 62 6a 65 63 74 |s. | object|
|00002bd0| 20 3d 20 31 31 20 20 20 | 20 20 20 20 20 20 20 20 | = 11 | |
|00002be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|00002bf0| 20 20 75 73 65 64 20 69 | 6e 20 74 68 65 20 62 6f | used i|n the bo|
|00002c00| 6e 75 73 20 72 65 6c 65 | 61 73 65 20 73 75 62 72 |nus rele|ase subr|
|00002c10| 6f 75 74 69 6e 65 00 20 | 20 20 20 20 20 80 22 00 |outine. | .".|
|00002c20| 20 20 20 20 20 20 20 20 | 80 0b 20 72 61 6e 64 20 | |.. rand |
|00002c30| 3c 20 35 00 20 20 20 20 | 20 20 20 20 20 6f 62 6a |< 5. | obj|
|00002c40| 65 63 74 20 3d 20 31 32 | 00 20 20 20 20 20 20 20 |ect = 12|. |
|00002c50| 20 80 22 00 20 20 20 20 | 20 20 20 20 20 20 80 0b | .". | ..|
|00002c60| 20 72 61 6e 64 20 3c 20 | 39 00 20 20 20 20 20 20 | rand < |9. |
|00002c70| 20 20 20 20 20 20 6f 62 | 6a 65 63 74 20 3d 20 31 | ob|ject = 1|
|00002c80| 33 00 20 20 20 20 20 20 | 20 20 20 20 80 22 00 20 |3. | .". |
|00002c90| 20 20 20 20 20 20 20 20 | 20 20 20 6f 62 6a 65 63 | | objec|
|00002ca0| 74 20 3d 20 31 34 00 20 | 20 20 20 20 20 20 20 20 |t = 14. | |
|00002cb0| 20 80 c0 00 20 20 20 20 | 20 20 20 20 80 c0 00 20 | ... | ... |
|00002cc0| 20 20 20 20 20 80 c0 00 | 20 20 20 20 20 20 80 06 | ...| ..|
|00002cd0| 20 62 6f 6e 75 73 5f 72 | 65 6c 65 61 73 65 00 20 | bonus_r|elease. |
|00002ce0| 20 20 20 80 c0 00 00 20 | 20 80 c0 00 00 20 20 80 | .... | .... .|
|00002cf0| 2c 20 d0 01 20 31 20 20 | 20 20 20 20 20 20 20 20 |, .. 1 | |
|00002d00| 20 20 20 20 20 20 20 20 | 20 20 3b 20 67 6f 20 62 | | ; go b|
|00002d10| 61 63 6b 20 74 6f 20 6f | 74 68 65 72 20 62 69 74 |ack to o|ther bit|
|00002d20| 6d 61 70 00 00 80 07 00 | 3b 3b 3b 3b 3b 3b 3b 3b |map.....|;;;;;;;;|
|00002d30| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002d40| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002d50| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002d60| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 00 2e 73 65 65 5f 73 |;;;;;;;;|;..see_s|
|00002d70| 61 77 5f 63 6f 6c 6c 69 | 73 69 6f 6e 3a 00 00 3b |aw_colli|sion:..;|
|00002d80| 20 69 66 20 63 6c 6f 77 | 6e 20 68 69 74 73 20 73 | if clow|n hits s|
|00002d90| 65 65 20 73 61 77 2c 20 | 63 68 61 6e 67 65 20 73 |ee saw, |change s|
|00002da0| 65 65 20 73 61 77 20 73 | 68 61 70 65 2e 00 3b 20 |ee saw s|hape..; |
|00002db0| 72 65 76 65 72 73 65 20 | 64 69 72 65 63 74 69 6f |reverse |directio|
|00002dc0| 6e 20 6f 66 20 63 6c 6f | 77 6e 20 61 6e 64 20 6d |n of clo|wn and m|
|00002dd0| 6f 76 65 20 63 6c 6f 77 | 6e 20 78 20 70 6f 73 69 |ove clow|n x posi|
|00002de0| 74 69 6f 6e 20 74 6f 20 | 74 68 65 20 6f 74 68 65 |tion to |the othe|
|00002df0| 72 00 3b 20 73 69 64 65 | 20 6f 66 20 74 68 65 20 |r.; side| of the |
|00002e00| 73 65 65 20 73 61 77 2e | 00 3b 20 53 6f 75 6e 64 |see saw.|.; Sound|
|00002e10| 20 62 6f 69 6e 67 2e 00 | 00 80 0b 20 6d 61 6e 64 | boing..|... mand|
|00002e20| 79 20 3e 20 30 20 20 20 | 20 20 3b 20 6f 6e 6c 79 |y > 0 | ; only|
|00002e30| 20 63 68 65 63 6b 20 69 | 66 20 63 6c 6f 77 6e 20 | check i|f clown |
|00002e40| 64 65 73 63 65 6e 64 69 | 6e 67 00 20 20 80 0b 20 |descendi|ng. .. |
|00002e50| 72 69 67 68 74 5f 73 65 | 65 5f 73 61 77 00 20 20 |right_se|e_saw. |
|00002e60| 20 80 0b 20 b4 06 20 28 | 36 2c 6d 61 6e 78 2c 6d | .. .. (|6,manx,m|
|00002e70| 61 6e 79 2c 33 2c 78 30 | 2e 77 2c 79 30 2b 32 30 |any,3,x0|.w,y0+20|
|00002e80| 29 00 20 20 20 72 69 67 | 68 74 5f 73 65 65 5f 73 |). rig|ht_see_s|
|00002e90| 61 77 20 3d 20 bc 0f 00 | 20 20 20 6d 61 6e 64 79 |aw = ...| mandy|
|00002ea0| 20 3d 20 2d 6d 61 6e 64 | 79 00 20 20 20 6d 61 6e | = -mand|y. man|
|00002eb0| 78 20 3d 20 6d 61 6e 78 | 20 2b 20 31 35 00 20 20 |x = manx| + 15. |
|00002ec0| 20 ba 04 20 30 2c 31 00 | 20 20 20 68 69 74 5f 70 | .. 0,1.| hit_p|
|00002ed0| 6f 73 69 74 69 6f 6e 2e | 62 20 3d 20 6d 61 6e 78 |osition.|b = manx|
|00002ee0| 2d 78 30 2d 35 00 20 20 | 80 c0 00 20 80 22 00 20 |-x0-5. |... .". |
|00002ef0| 20 80 0b 20 b4 06 20 28 | 36 2c 6d 61 6e 78 2c 6d | .. .. (|6,manx,m|
|00002f00| 61 6e 79 2c 38 2c 78 30 | 2c 79 30 2b 32 30 29 00 |any,8,x0|,y0+20).|
|00002f10| 20 20 20 72 69 67 68 74 | 5f 73 65 65 5f 73 61 77 | right|_see_saw|
|00002f20| 20 3d 20 bc 0e 00 20 20 | 20 6d 61 6e 64 79 20 3d | = ... | mandy =|
|00002f30| 20 2d 6d 61 6e 64 79 00 | 20 20 20 6d 61 6e 78 20 | -mandy.| manx |
|00002f40| 3d 20 6d 61 6e 78 2d 31 | 35 00 20 20 ba 04 20 30 |= manx-1|5. .. 0|
|00002f50| 2c 31 00 20 20 68 69 74 | 5f 70 6f 73 69 74 69 6f |,1. hit|_positio|
|00002f60| 6e 20 3d 20 78 30 2b 31 | 35 2d 6d 61 6e 78 00 20 |n = x0+1|5-manx. |
|00002f70| 20 80 c0 00 20 80 c0 00 | 80 c0 00 00 00 00 80 07 | ... ...|........|
|00002f80| 00 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |.;;;;;;;|;;;;;;;;|
|00002f90| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002fa0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002fb0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00002fc0| 3b 3b 3b 3b 3b 00 2e 63 | 6c 6f 77 6e 5f 79 5f 76 |;;;;;..c|lown_y_v|
|00002fd0| 65 6c 6f 63 69 74 79 3a | 00 00 3b 20 62 6f 75 6e |elocity:|..; boun|
|00002fe0| 63 65 20 6f 66 66 20 65 | 6c 65 70 68 61 6e 74 73 |ce off e|lephants|
|00002ff0| 20 74 72 75 6e 6b 20 28 | 4e 6f 74 20 73 75 72 65 | trunk (|Not sure|
|00003000| 20 69 66 20 74 68 69 73 | 20 69 73 20 61 20 67 6f | if this| is a go|
|00003010| 6f 64 20 69 64 65 61 29 | 00 3b 00 3b 20 49 66 20 |od idea)|.;.; If |
|00003020| 28 52 65 63 74 73 48 69 | 74 28 6d 61 6e 78 2d 31 |(RectsHi|t(manx-1|
|00003030| 30 2c 6d 61 6e 79 2d 31 | 33 2c 31 39 2c 32 35 2c |0,many-1|3,19,25,|
|00003040| 30 2c 31 35 30 2c 36 30 | 2c 38 29 20 4f 52 20 20 |0,150,60|,8) OR |
|00003050| 52 65 63 74 73 48 69 74 | 28 6d 61 6e 78 2d 31 30 |RectsHit|(manx-10|
|00003060| 2c 6d 61 6e 79 2d 31 33 | 2c 31 39 2c 32 35 2c 32 |,many-13|,19,25,2|
|00003070| 37 30 2c 31 35 30 2c 36 | 30 2c 38 29 29 20 41 4e |70,150,6|0,8)) AN|
|00003080| 44 20 6d 61 6e 64 79 20 | 3e 20 30 00 3b 20 20 6d |D mandy |> 0.; m|
|00003090| 61 6e 64 79 20 3d 20 2d | 6d 61 6e 64 79 00 3b 20 |andy = -|mandy.; |
|000030a0| 53 6f 75 6e 64 20 30 2c | 31 00 3b 20 45 6e 64 49 |Sound 0,|1.; EndI|
|000030b0| 66 00 00 20 80 0b 20 62 | 6f 75 6e 63 65 20 80 8a |f.. .. b|ounce ..|
|000030c0| 20 6d 6f 75 73 65 5f 6d | 6f 76 65 20 80 8a 20 66 | mouse_m|ove .. f|
|000030d0| 6c 79 20 20 20 20 20 20 | 20 20 20 20 3b 20 4d 61 |ly | ; Ma|
|000030e0| 78 69 6d 75 6d 20 65 6e | 65 72 67 79 20 69 66 20 |ximum en|ergy if |
|000030f0| 62 6f 6e 75 73 00 20 20 | 68 69 74 5f 70 6f 73 69 |bonus. |hit_posi|
|00003100| 74 69 6f 6e 20 3d 20 38 | 00 20 80 c0 00 00 20 65 |tion = 8|. .... e|
|00003110| 6e 65 72 67 79 2e 77 20 | 3d 20 20 33 20 2a 20 68 |nergy.w |= 3 * h|
|00003120| 69 74 5f 70 6f 73 69 74 | 69 6f 6e 20 20 20 20 20 |it_posit|ion |
|00003130| 20 20 20 20 20 20 20 3b | 20 45 6e 65 72 67 79 20 | ;| Energy |
|00003140| 64 65 70 65 6e 64 73 20 | 6f 6e 20 70 6f 73 69 74 |depends |on posit|
|00003150| 69 6f 6e 20 43 6c 6f 77 | 6e 20 68 69 74 20 73 65 |ion Clow|n hit se|
|00003160| 65 73 61 77 00 20 20 20 | 20 20 20 20 20 20 20 20 |esaw. | |
|00003170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|00003190| 54 68 65 20 73 65 65 73 | 61 77 20 77 61 73 20 68 |The sees|aw was h|
|000031a0| 69 74 2e 20 65 64 67 65 | 73 2c 20 6d 6f 72 65 20 |it. edge|s, more |
|000031b0| 65 6e 65 72 67 79 00 20 | 80 0b 20 6d 61 6e 64 79 |energy. |.. mandy|
|000031c0| 20 3c 20 30 20 20 20 20 | 20 20 20 20 20 20 20 20 | < 0 | |
|000031d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000031e0| 3b 20 49 66 20 79 20 63 | 6c 6f 77 6e 20 69 6e 63 |; If y c|lown inc|
|000031f0| 72 65 6d 65 6e 74 20 66 | 6f 72 20 63 6c 6f 77 6e |rement f|or clown|
|00003200| 20 69 73 20 6e 65 67 61 | 74 69 76 65 20 74 68 65 | is nega|tive the|
|00003210| 6e 00 20 20 20 6d 61 6e | 64 79 20 3d 20 2d 20 e0 |n. man|dy = - .|
|00003220| 0c 28 34 30 2a 28 6d 61 | 6e 79 2d 65 6e 65 72 67 |.(40*(ma|ny-energ|
|00003230| 79 29 29 2f 6c 65 76 65 | 6c 20 3b 20 20 72 65 76 |y))/leve|l ; rev|
|00003240| 65 72 73 65 20 64 69 72 | 65 63 74 69 6f 6e 20 61 |erse dir|ection a|
|00003250| 6e 64 20 72 65 2d 63 61 | 6c 63 75 6c 61 74 65 20 |nd re-ca|lculate |
|00003260| 61 20 6e 65 77 2e 00 20 | 20 20 6d 61 6e 20 3d 20 |a new.. | man = |
|00003270| 35 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |5 | |
|00003280| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003290| 3b 20 20 49 6e 63 72 65 | 6d 65 6e 74 20 61 63 63 |; Incre|ment acc|
|000032a0| 6f 72 64 69 6e 67 20 74 | 6f 20 72 6f 75 67 68 20 |ording t|o rough |
|000032b0| 76 65 6c 6f 63 69 74 79 | 20 66 6f 72 6d 75 6c 61 |velocity| formula|
|000032c0| 00 20 80 22 20 20 20 20 | 20 20 20 20 20 20 20 20 |. ." | |
|000032d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000032e0| 20 20 20 20 20 20 20 20 | 3b 20 65 6c 73 65 00 20 | |; else. |
|000032f0| 20 20 6d 61 6e 64 79 20 | 3d 20 e0 0c 28 34 30 2a | mandy |= ..(40*|
|00003300| 28 6d 61 6e 79 2d 65 6e | 65 72 67 79 29 29 2f 6c |(many-en|ergy))/l|
|00003310| 65 76 65 6c 20 20 20 3b | 20 20 20 6b 65 65 70 20 |evel ;| keep |
|00003320| 73 61 6d 65 20 64 69 72 | 65 63 74 69 6f 6e 20 61 |same dir|ection a|
|00003330| 6e 64 20 72 65 2d 63 61 | 6c 63 75 6c 61 74 65 00 |nd re-ca|lculate.|
|00003340| 20 20 20 6d 61 6e 20 3d | 20 36 20 20 20 20 20 20 | man =| 6 |
|00003350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003360| 20 20 20 20 20 20 20 20 | 20 3b 20 65 6e 64 69 66 | | ; endif|
|00003370| 00 20 80 c0 00 00 20 80 | 0b 20 6d 61 6e 64 79 20 |. .... .|. mandy |
|00003380| 3d 20 30 20 80 21 20 6d | 61 6e 64 79 20 3d 20 31 |= 0 .! m|andy = 1|
|00003390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3b 20 49 | | ; I|
|000033a0| 66 20 79 20 63 6c 6f 77 | 6e 20 69 6e 63 72 65 6d |f y clow|n increm|
|000033b0| 65 6e 74 20 69 73 20 7a | 65 72 6f 20 74 68 65 6e |ent is z|ero then|
|000033c0| 20 73 65 74 20 69 74 20 | 74 6f 00 20 20 20 20 20 | set it |to. |
|000033d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000033e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000033f0| 20 20 20 20 3b 20 31 20 | 74 6f 20 70 72 65 76 65 | ; 1 |to preve|
|00003400| 6e 74 20 63 6c 6f 77 6e | 20 73 74 61 79 69 6e 67 |nt clown| staying|
|00003410| 20 69 6e 20 6f 6e 65 20 | 70 6f 73 69 74 69 6f 6e | in one |position|
|00003420| 00 80 07 00 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |....;;;;|;;;;;;;;|
|00003430| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003440| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003450| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003460| 3b 3b 3b 3b 3b 00 2e 63 | 68 61 6e 67 65 5f 63 6c |;;;;;..c|hange_cl|
|00003470| 6f 77 6e 5f 70 6f 73 69 | 74 69 6f 6e 3a 00 00 20 |own_posi|tion:.. |
|00003480| 20 80 0b 20 62 6f 75 6e | 63 65 2e 62 20 20 20 20 | .. boun|ce.b |
|00003490| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000034a0| 20 20 20 3b 20 49 66 20 | 62 6f 6e 75 73 20 62 6f | ; If |bonus bo|
|000034b0| 75 6e 63 65 20 74 68 65 | 6e 20 62 6f 75 6e 63 65 |unce the|n bounce|
|000034c0| 20 63 6c 6f 77 6e 20 6f | 66 66 00 20 20 20 20 20 | clown o|ff. |
|000034d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000034e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|000034f0| 20 74 69 67 68 74 72 6f | 70 65 20 66 6f 72 20 61 | tightro|pe for a|
|00003500| 20 6c 69 6d 69 74 65 64 | 20 70 65 72 69 6f 64 2e | limited| period.|
|00003510| 00 20 20 20 80 0b 20 74 | 69 67 68 74 72 6f 70 65 |. .. t|ightrope|
|00003520| 5f 69 6e 64 65 78 20 3d | 20 32 39 00 20 20 20 20 |_index =| 29. |
|00003530| 20 74 69 67 68 74 72 6f | 70 65 5f 6f 66 66 73 65 | tightro|pe_offse|
|00003540| 74 2e 62 20 3d 20 31 31 | 20 20 20 20 20 20 20 20 |t.b = 11| |
|00003550| 3b 20 63 68 61 6e 67 65 | 20 54 69 67 68 74 72 6f |; change| Tightro|
|00003560| 70 65 20 70 6f 73 69 74 | 69 6f 6e 20 77 68 65 6e |pe posit|ion when|
|00003570| 20 62 6f 74 74 6f 6d 20 | 6f 66 20 62 6f 75 6e 63 | bottom |of bounc|
|00003580| 65 20 72 65 61 63 68 65 | 64 00 20 20 20 80 22 20 |e reache|d. ." |
|00003590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000035a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 74 6f | | ; to|
|000035b0| 20 63 65 6e 74 72 65 20 | 69 74 2e 00 20 20 20 20 | centre |it.. |
|000035c0| 20 74 69 67 68 74 72 6f | 70 65 5f 6f 66 66 73 65 | tightro|pe_offse|
|000035d0| 74 20 3d 20 30 00 20 20 | 20 80 c0 00 20 20 20 c9 |t = 0. | ... .|
|000035e0| 02 20 30 2c 74 69 67 68 | 74 72 6f 70 65 5f 69 6e |. 0,tigh|trope_in|
|000035f0| 64 65 78 2c 31 30 2c 31 | 34 35 20 2d 20 74 69 67 |dex,10,1|45 - tig|
|00003600| 68 74 72 6f 70 65 5f 6f | 66 66 73 65 74 00 20 20 |htrope_o|ffset. |
|00003610| 20 80 0b 20 80 89 20 62 | 6f 75 6e 63 65 64 2e 62 | .. .. b|ounced.b|
|00003620| 00 20 20 20 20 20 74 69 | 67 68 74 72 6f 70 65 5f |. ti|ghtrope_|
|00003630| 69 6e 64 65 78 20 3d 20 | 32 36 00 20 20 20 80 22 |index = |26. ."|
|00003640| 00 20 20 20 20 74 69 67 | 68 74 72 6f 70 65 5f 69 |. tig|htrope_i|
|00003650| 6e 64 65 78 20 2b 20 31 | 00 20 20 20 20 20 80 0b |ndex + 1|. ..|
|00003660| 20 74 69 67 68 74 72 6f | 70 65 5f 69 6e 64 65 78 | tightro|pe_index|
|00003670| 20 3e 20 32 39 00 20 20 | 20 20 20 20 74 69 67 68 | > 29. | tigh|
|00003680| 74 72 6f 70 65 5f 69 6e | 64 65 78 20 3d 20 32 36 |trope_in|dex = 26|
|00003690| 00 20 20 20 20 20 20 62 | 6f 75 6e 63 65 5f 74 69 |. b|ounce_ti|
|000036a0| 6d 65 2e 62 20 3d 20 bc | 0a 20 28 62 6f 75 6e 63 |me.b = .|. (bounc|
|000036b0| 65 5f 74 69 6d 65 20 2d | 20 31 2c 30 2c 35 29 00 |e_time -| 1,0,5).|
|000036c0| 20 20 20 20 20 20 80 0b | 20 62 6f 75 6e 63 65 5f | ..| bounce_|
|000036d0| 74 69 6d 65 20 3d 20 30 | 20 80 21 20 62 6f 75 6e |time = 0| .! boun|
|000036e0| 63 65 64 20 3d 20 bc 0f | 00 20 20 20 20 20 80 c0 |ced = ..|. ..|
|000036f0| 00 20 20 20 80 c0 00 00 | 20 20 20 80 0b 20 b4 09 |. ....| .. ..|
|00003700| 28 6d 61 6e 78 2d 31 30 | 2c 6d 61 6e 79 2d 31 33 |(manx-10|,many-13|
|00003710| 2c 31 39 2c 32 35 2c 30 | 2c 31 34 32 2c 33 32 30 |,19,25,0|,142,320|
|00003720| 2c 31 30 30 29 20 80 42 | 20 6d 61 6e 64 79 20 3e |,100) .B| mandy >|
|00003730| 20 30 00 20 20 20 20 62 | 6f 75 6e 63 65 64 20 3d | 0. b|ounced =|
|00003740| 20 bc 0e 00 20 20 20 20 | 62 6f 75 6e 63 65 5f 74 | ... |bounce_t|
|00003750| 69 6d 65 20 3d 20 34 00 | 20 20 20 20 ba 04 20 30 |ime = 4.| .. 0|
|00003760| 2c 31 00 20 20 20 20 20 | 20 6d 61 6e 64 79 20 3d |,1. | mandy =|
|00003770| 20 2d 6d 61 6e 64 79 00 | 20 20 20 20 20 20 6d 61 | -mandy.| ma|
|00003780| 6e 79 20 3d 20 6d 61 6e | 79 20 2b 20 6d 61 6e 64 |ny = man|y + mand|
|00003790| 79 00 20 20 20 20 80 c0 | 00 20 20 20 20 62 74 69 |y. ..|. bti|
|000037a0| 6d 65 6f 75 74 2e 77 20 | 2b 20 31 00 20 20 20 20 |meout.w |+ 1. |
|000037b0| 80 0b 20 62 74 69 6d 65 | 6f 75 74 20 3e 20 34 30 |.. btime|out > 40|
|000037c0| 30 00 20 20 20 20 20 20 | 62 6f 75 6e 63 65 20 3d |0. |bounce =|
|000037d0| 20 bc 0f 00 20 20 20 20 | 20 20 80 2c 20 d0 01 20 | ... | ., .. |
|000037e0| 30 00 20 20 20 20 20 20 | 80 0b 20 80 89 20 28 66 |0. |.. .. (f|
|000037f0| 6c 79 2e 62 20 80 8a 20 | 20 6d 6f 75 73 65 5f 6d |ly.b .. | mouse_m|
|00003800| 6f 76 65 2e 62 29 20 20 | 20 3b 20 49 66 20 6e 6f |ove.b) | ; If no|
|00003810| 20 6f 74 68 65 72 20 62 | 6f 6e 75 73 20 61 63 74 | other b|onus act|
|00003820| 69 76 65 00 20 20 20 20 | 20 20 20 ba 04 20 32 2c |ive. | .. 2,|
|00003830| 32 2c 36 34 2c 36 34 20 | 20 20 20 20 20 20 20 20 |2,64,64 | |
|00003840| 20 20 20 20 20 20 20 20 | 20 3b 20 20 72 65 6d 6f | | ; remo|
|00003850| 76 65 20 6c 6f 6f 70 69 | 6e 67 20 62 6f 6e 75 73 |ve loopi|ng bonus|
|00003860| 20 73 6f 75 6e 64 00 20 | 20 20 20 20 20 80 c0 00 | sound. | ...|
|00003870| 20 20 20 20 20 80 2c 20 | d0 01 20 31 00 20 20 20 | ., |.. 1. |
|00003880| 20 80 c0 00 20 20 80 c0 | 00 00 20 20 6d 61 6e 79 | ... ..|.. many|
|00003890| 20 3d 20 bc 0a 20 28 6d | 61 6e 79 2b 6d 61 6e 64 | = .. (m|any+mand|
|000038a0| 79 2c 31 33 2c 32 34 30 | 29 00 20 20 80 0b 20 6d |y,13,240|). .. m|
|000038b0| 61 6e 79 20 3c 3d 32 30 | 00 20 20 20 20 6d 61 6e |any <=20|. man|
|000038c0| 64 79 20 3d 20 2d 6d 61 | 6e 64 79 00 20 20 20 20 |dy = -ma|ndy. |
|000038d0| 6d 61 6e 79 20 3d 20 6d | 61 6e 79 20 2b 20 6d 61 |many = m|any + ma|
|000038e0| 6e 64 79 00 20 20 80 c0 | 00 00 20 20 80 0b 20 6d |ndy. ..|.. .. m|
|000038f0| 6f 75 73 65 5f 6d 6f 76 | 65 2e 62 20 20 20 20 20 |ouse_mov|e.b |
|00003900| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003910| 3b 20 42 6f 6e 75 73 20 | 63 6c 6f 77 6e 20 6d 6f |; Bonus |clown mo|
|00003920| 76 65 20 77 69 74 68 20 | 6d 6f 75 73 65 20 66 6f |ve with |mouse fo|
|00003930| 72 20 61 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |r a. | |
|00003940| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003950| 20 20 20 20 20 20 20 20 | 20 20 3b 20 6c 69 6d 69 | | ; limi|
|00003960| 74 65 64 20 70 65 72 69 | 6f 64 20 77 68 65 6e 20 |ted peri|od when |
|00003970| 64 69 64 64 79 20 62 61 | 6c 6f 6f 6e 73 20 61 72 |diddy ba|loons ar|
|00003980| 65 20 63 61 75 67 68 74 | 00 20 20 20 20 80 0b 20 |e caught|. .. |
|00003990| 72 69 67 68 74 5f 73 65 | 65 5f 73 61 77 00 20 20 |right_se|e_saw. |
|000039a0| 20 20 20 20 6d 61 6e 78 | 20 3d 20 78 30 20 20 20 | manx| = x0 |
|000039b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000039c0| 20 20 20 20 3b 20 45 6e | 73 75 72 65 20 63 6c 6f | ; En|sure clo|
|000039d0| 77 6e 20 69 73 20 63 61 | 75 67 68 74 20 61 74 20 |wn is ca|ught at |
|000039e0| 65 64 67 65 73 20 6f 66 | 20 73 65 65 73 61 77 20 |edges of| seesaw |
|000039f0| 74 6f 00 20 20 20 20 80 | 22 20 20 20 20 20 20 20 |to. .|" |
|00003a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003a10| 20 20 20 20 20 20 20 3b | 20 61 6c 6c 6f 77 20 63 | ;| allow c|
|00003a20| 6c 6f 77 6e 20 74 6f 20 | 67 61 69 6e 20 6d 61 78 |lown to |gain max|
|00003a30| 69 6d 75 6d 20 68 65 69 | 67 68 74 2e 00 20 20 20 |imum hei|ght.. |
|00003a40| 20 20 20 6d 61 6e 78 20 | 3d 20 78 30 20 2b 20 32 | manx |= x0 + 2|
|00003a50| 35 00 20 20 20 20 80 c0 | 00 20 20 20 20 6d 74 69 |5. ..|. mti|
|00003a60| 6d 65 6f 75 74 2e 77 2b | 31 00 20 20 20 20 80 0b |meout.w+|1. ..|
|00003a70| 20 6d 74 69 6d 65 6f 75 | 74 20 3e 20 34 30 30 00 | mtimeou|t > 400.|
|00003a80| 20 20 20 20 20 20 6d 6f | 75 73 65 5f 6d 6f 76 65 | mo|use_move|
|00003a90| 20 3d 20 bc 0f 00 20 20 | 20 20 20 20 80 0b 20 80 | = ... | .. .|
|00003aa0| 89 20 28 66 6c 79 2e 62 | 20 80 8a 20 62 6f 75 6e |. (fly.b| .. boun|
|00003ab0| 63 65 2e 62 29 00 20 20 | 20 20 20 20 20 20 ba 04 |ce.b). | ..|
|00003ac0| 20 32 2c 32 2c 36 34 2c | 36 34 20 20 20 20 20 20 | 2,2,64,|64 |
|00003ad0| 20 20 20 20 20 20 20 20 | 20 3b 20 52 65 6d 6f 76 | | ; Remov|
|00003ae0| 65 20 6c 6f 6f 70 69 6e | 67 20 62 6f 6e 75 73 20 |e loopin|g bonus |
|00003af0| 73 6f 75 6e 64 00 20 20 | 20 20 20 20 80 c0 00 00 |sound. | ....|
|00003b00| 20 20 20 20 80 c0 00 20 | 20 80 22 00 20 20 20 20 | ... | .". |
|00003b10| 6d 61 6e 78 3d bc 0a 20 | 28 6d 61 6e 78 2b 6d 61 |manx=.. |(manx+ma|
|00003b20| 6e 64 78 2c 31 38 2c 33 | 33 30 29 20 20 20 3b 20 |ndx,18,3|30) ; |
|00003b30| 4e 6f 72 6d 61 6c 20 63 | 6c 6f 77 6e 20 6d 6f 76 |Normal c|lown mov|
|00003b40| 65 00 20 20 80 c0 00 00 | 20 20 80 0b 20 6d 61 6e |e. ....| .. man|
|00003b50| 78 20 3c 20 32 35 20 20 | 20 20 20 20 20 20 20 20 |x < 25 | |
|00003b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|00003b70| 53 63 72 65 65 6e 20 6c | 69 6d 69 74 73 20 66 6f |Screen l|imits fo|
|00003b80| 72 20 63 6c 6f 77 6e 00 | 20 20 20 20 6d 61 6e 78 |r clown.| manx|
|00003b90| 3d 32 35 00 20 20 20 20 | 6d 61 6e 64 78 3d 2d 6d |=25. |mandx=-m|
|00003ba0| 61 6e 64 78 00 20 20 80 | c0 00 20 20 80 0b 20 6d |andx. .|.. .. m|
|00003bb0| 61 6e 78 20 3e 33 32 30 | 00 20 20 20 20 6d 61 6e |anx >320|. man|
|00003bc0| 64 78 3d 2d 6d 61 6e 64 | 78 00 20 20 20 20 6d 61 |dx=-mand|x. ma|
|00003bd0| 6e 78 20 3d 33 32 30 00 | 20 20 80 c0 00 80 07 00 |nx =320.| ......|
|00003be0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003bf0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003c00| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003c10| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003c20| 3b 00 2e 73 63 6f 72 65 | 5f 64 69 73 70 6c 61 79 |;..score|_display|
|00003c30| 3a 00 20 20 c7 04 20 35 | 2c 30 00 20 20 c7 03 20 |:. .. 5|,0. .. |
|00003c40| 33 00 20 20 dd 81 20 20 | 73 63 6f 72 65 00 80 07 |3. .. |score...|
|00003c50| 00 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |.;;;;;;;|;;;;;;;;|
|00003c60| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003c70| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003c80| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003c90| 3b 3b 00 2e 64 69 73 70 | 6c 61 79 5f 6c 69 76 65 |;;..disp|lay_live|
|00003ca0| 73 3a 00 20 20 80 2c 20 | d0 01 20 31 00 20 20 bb |s:. ., |.. 1. .|
|00003cb0| 84 20 31 35 30 2c 30 2c | 33 34 30 2c 31 30 2c 30 |. 150,0,|340,10,0|
|00003cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003cd0| 3b 20 45 72 61 73 65 20 | 6c 69 76 65 73 20 66 72 |; Erase |lives fr|
|00003ce0| 6f 6d 20 73 63 72 65 65 | 6e 00 20 20 80 0b 20 6c |om scree|n. .. l|
|00003cf0| 69 76 65 73 20 3e 20 31 | 31 20 20 20 20 20 20 20 |ives > 1|1 |
|00003d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|00003d10| 20 44 69 73 70 6c 61 79 | 20 61 6c 6c 20 6c 69 76 | Display| all liv|
|00003d20| 65 73 20 62 65 6c 6f 77 | 20 31 31 00 20 20 20 20 |es below| 11. |
|00003d30| 6c 69 76 65 73 5f 6c 65 | 66 74 2e 62 20 3d 20 31 |lives_le|ft.b = 1|
|00003d40| 31 00 20 20 80 22 00 20 | 20 20 20 6c 69 76 65 73 |1. .". | lives|
|00003d50| 5f 6c 65 66 74 20 3d 20 | 6c 69 76 65 73 00 20 20 |_left = |lives. |
|00003d60| 80 c0 00 20 20 80 16 20 | 69 6e 64 65 78 20 3d 20 |... .. |index = |
|00003d70| 20 6c 69 76 65 73 5f 6c | 65 66 74 20 80 18 20 31 | lives_l|eft .. 1|
|00003d80| 20 80 19 20 2d 31 00 20 | 20 20 20 cb 01 20 31 30 | .. -1. | .. 10|
|00003d90| 2c 31 35 30 2b 28 69 6e | 64 65 78 20 2a 20 31 35 |,150+(in|dex * 15|
|00003da0| 29 2c 30 00 20 20 80 17 | 00 80 07 00 3b 3b 3b 3b |),0. ..|....;;;;|
|00003db0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003dc0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003dd0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003de0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 00 2e 69 |;;;;;;;;|;;;;;..i|
|00003df0| 6e 69 74 69 61 6c 69 73 | 65 3a 00 20 20 20 62 61 |nitialis|e:. ba|
|00003e00| 6c 6f 6f 6e 5f 63 6f 75 | 6e 74 2e 62 20 3d 20 30 |loon_cou|nt.b = 0|
|00003e10| 20 20 20 20 20 20 3b 20 | 72 65 2d 69 6e 69 74 69 | ; |re-initi|
|00003e20| 61 6c 69 73 65 20 76 61 | 72 69 61 62 6c 65 73 00 |alise va|riables.|
|00003e30| 20 20 20 6d 61 6e 78 3d | 35 30 00 20 20 20 6d 61 | manx=|50. ma|
|00003e40| 6e 79 3d 31 38 33 00 20 | 20 20 6d 61 6e 64 78 3d |ny=183. | mandx=|
|00003e50| 31 00 20 20 20 6d 61 6e | 64 79 3d 2d 34 00 20 20 |1. man|dy=-4. |
|00003e60| 20 73 63 6f 72 65 3d 30 | 00 20 20 20 78 61 3d 30 | score=0|. xa=0|
|00003e70| 00 20 20 20 79 61 3d 30 | 00 20 20 20 70 6c 61 79 |. ya=0|. play|
|00003e80| 20 3d 20 bc 0f 00 20 20 | 20 6d 61 6e 20 3d 20 35 | = ... | man = 5|
|00003e90| 00 20 20 20 6c 69 76 65 | 73 3d 20 33 00 20 20 20 |. live|s= 3. |
|00003ea0| 62 61 6c 6f 6f 6e 5f 73 | 65 74 75 70 20 3d 20 30 |baloon_s|etup = 0|
|00003eb0| 00 20 20 20 64 65 6d 6f | 2e 62 20 3d 20 bc 0f 00 |. demo|.b = ...|
|00003ec0| 20 20 20 62 61 6c 6f 6f | 6e 5f 63 6f 75 6e 74 20 | baloo|n_count |
|00003ed0| 3d 20 30 00 20 20 20 72 | 65 6c 65 61 73 65 64 20 |= 0. r|eleased |
|00003ee0| 3d 20 bc 0f 00 20 20 20 | 70 6f 70 70 65 64 5f 69 |= ... |popped_i|
|00003ef0| 6e 64 65 78 2e 62 20 3d | 20 31 35 00 20 20 20 68 |ndex.b =| 15. h|
|00003f00| 69 74 5f 70 6f 73 69 74 | 69 6f 6e 20 3d 20 34 30 |it_posit|ion = 40|
|00003f10| 00 20 20 20 6c 65 76 65 | 6c 20 3d 20 31 32 00 80 |. leve|l = 12..|
|00003f20| 07 00 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |..;;;;;;|;;;;;;;;|
|00003f30| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003f40| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003f50| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00003f60| 3b 3b 3b 00 2e 6d 6f 76 | 65 5f 73 65 65 73 61 77 |;;;..mov|e_seesaw|
|00003f70| 3a 00 20 20 80 0b 20 72 | 69 67 68 74 5f 73 65 65 |:. .. r|ight_see|
|00003f80| 5f 73 61 77 20 20 20 20 | 20 20 20 20 20 20 20 20 |_saw | |
|00003f90| 20 3b 20 49 66 20 72 69 | 67 68 74 20 73 65 65 20 | ; If ri|ght see |
|00003fa0| 73 61 77 20 74 6f 20 62 | 65 20 64 69 73 70 6c 61 |saw to b|e displa|
|00003fb0| 79 65 64 00 20 20 20 20 | 78 30 3d bc 0a 28 b6 04 |yed. |x0=..(..|
|00003fc0| 2c 30 2c 33 31 30 29 20 | 20 20 20 3b 20 4c 69 6d |,0,310) | ; Lim|
|00003fd0| 69 74 20 73 65 65 20 73 | 61 77 20 6d 6f 76 65 6d |it see s|aw movem|
|00003fe0| 65 6e 74 20 74 6f 20 74 | 68 65 20 73 63 72 65 65 |ent to t|he scree|
|00003ff0| 6e 20 65 64 67 65 73 00 | 20 20 20 20 80 0b 20 64 |n edges.| .. d|
|00004000| 65 6d 6f 2e 62 20 20 80 | 21 20 78 30 20 3d 20 6d |emo.b .|! x0 = m|
|00004010| 61 6e 78 20 20 3b 20 49 | 66 20 64 65 6d 6f 20 6d |anx ; I|f demo m|
|00004020| 6f 76 65 20 73 65 65 73 | 61 77 20 61 75 74 6f 6d |ove sees|aw autom|
|00004030| 61 74 69 63 61 6c 6c 79 | 00 20 20 20 20 c9 02 20 |atically|. .. |
|00004040| 30 2c 33 2c 78 30 2c 79 | 30 2b 31 34 20 20 20 20 |0,3,x0,y|0+14 |
|00004050| 20 20 20 20 20 3b 20 42 | 6c 69 74 20 72 69 67 68 | ; B|lit righ|
|00004060| 74 20 68 61 6c 66 20 73 | 65 65 20 73 61 77 20 6f |t half s|ee saw o|
|00004070| 6e 74 6f 20 74 68 65 20 | 73 63 72 65 65 6e 00 20 |nto the |screen. |
|00004080| 20 20 20 c9 02 20 30 2c | 34 2c 78 30 2b 31 36 2c | .. 0,|4,x0+16,|
|00004090| 79 30 20 20 20 20 20 20 | 20 20 20 3b 20 20 20 22 |y0 | ; "|
|000040a0| 20 20 6c 65 66 74 20 68 | 61 6c 66 20 22 20 20 20 | left h|alf " |
|000040b0| 22 20 20 20 22 20 20 20 | 20 22 20 20 20 20 20 22 |" " | " "|
|000040c0| 00 00 20 20 80 22 20 20 | 20 20 20 20 20 20 20 20 |.. ." | |
|000040d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|000040e0| 20 49 66 20 6c 65 66 74 | 20 73 65 65 20 73 61 77 | If left| see saw|
|000040f0| 20 74 6f 20 62 65 20 64 | 69 73 70 6c 61 79 65 64 | to be d|isplayed|
|00004100| 00 20 20 20 20 78 30 3d | bc 0a 28 b6 04 2c 31 35 |. x0=|..(..,15|
|00004110| 2c 33 32 30 29 20 20 20 | 3b 20 4c 69 6d 69 74 20 |,320) |; Limit |
|00004120| 73 65 65 20 73 61 77 20 | 6d 6f 76 65 6d 65 6e 74 |see saw |movement|
|00004130| 20 74 6f 20 74 68 65 20 | 73 63 72 65 65 6e 20 65 | to the |screen e|
|00004140| 64 67 65 73 00 20 20 20 | 20 80 0b 20 64 65 6d 6f |dges. | .. demo|
|00004150| 20 80 21 20 78 30 20 3d | 20 6d 61 6e 78 2d 31 38 | .! x0 =| manx-18|
|00004160| 20 20 3b 20 49 66 20 64 | 65 6d 6f 20 6d 6f 76 65 | ; If d|emo move|
|00004170| 20 73 65 65 73 61 77 20 | 61 75 74 6f 6d 61 74 69 | seesaw |automati|
|00004180| 63 61 6c 6c 79 00 20 20 | 20 20 c9 02 20 30 2c 37 |cally. | .. 0,7|
|00004190| 2c 78 30 2b 31 30 2c 79 | 30 2b 31 34 20 20 20 20 |,x0+10,y|0+14 |
|000041a0| 20 20 3b 20 42 6c 69 74 | 20 72 69 67 68 74 20 68 | ; Blit| right h|
|000041b0| 61 6c 66 20 73 65 65 20 | 73 61 77 20 6f 6e 74 6f |alf see |saw onto|
|000041c0| 20 74 68 65 20 73 63 72 | 65 65 6e 00 20 20 20 20 | the scr|een. |
|000041d0| c9 02 20 30 2c 38 2c 78 | 30 2d 31 30 2c 79 30 20 |.. 0,8,x|0-10,y0 |
|000041e0| 20 20 20 20 20 20 20 20 | 3b 20 42 6c 69 74 20 6c | |; Blit l|
|000041f0| 65 66 74 20 68 61 6c 66 | 20 73 65 65 20 73 61 77 |eft half| see saw|
|00004200| 20 6f 6e 74 6f 20 74 68 | 65 20 73 63 72 65 65 6e | onto th|e screen|
|00004210| 00 20 20 80 c0 00 80 07 | 00 3b 3b 3b 3b 3b 3b 3b |. .....|.;;;;;;;|
|00004220| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004230| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004240| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004250| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 00 2e 63 6c 6f 77 |;;;;;;;;|;;..clow|
|00004260| 6e 5f 64 65 61 74 68 3a | 00 00 20 20 20 80 0b 20 |n_death:|.. .. |
|00004270| 80 89 20 70 6c 61 79 2e | 62 20 20 20 20 20 20 20 |.. play.|b |
|00004280| 20 20 20 20 20 20 20 3b | 20 49 66 20 44 65 61 74 | ;| If Deat|
|00004290| 68 20 6a 75 73 74 20 68 | 61 70 70 65 6e 65 64 00 |h just h|appened.|
|000042a0| 20 20 20 20 20 80 2c 20 | d0 01 20 31 00 20 20 20 | ., |.. 1. |
|000042b0| 20 20 70 6c 61 79 20 3d | 20 bc 0e 20 20 20 20 20 | play =| .. |
|000042c0| 20 20 20 20 20 20 20 20 | 20 3b 20 20 20 6a 75 73 | | ; jus|
|000042d0| 74 20 61 66 74 65 72 20 | 63 6c 6f 77 6e 73 20 64 |t after |clowns d|
|000042e0| 65 61 74 68 2e 00 20 20 | 20 20 20 b0 03 20 32 00 |eath.. | .. 2.|
|000042f0| 20 20 20 20 20 64 65 61 | 74 68 79 2e 77 3d 20 32 | dea|thy.w= 2|
|00004300| 38 30 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 |80 | ; |
|00004310| 20 20 41 6c 6c 6f 77 73 | 20 64 65 61 64 20 63 6c | Allows| dead cl|
|00004320| 6f 77 6e 20 74 6f 20 70 | 61 75 73 65 20 62 65 66 |own to p|ause bef|
|00004330| 6f 72 65 20 67 6f 69 6e | 67 00 20 20 20 80 c0 20 |ore goin|g. .. |
|00004340| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004350| 20 20 20 20 20 3b 20 20 | 20 74 6f 20 68 65 61 76 | ; | to heav|
|00004360| 65 6e 20 77 68 69 63 68 | 20 61 6c 6c 6f 77 73 20 |en which| allows |
|00004370| 64 65 61 74 68 20 6d 61 | 72 63 68 20 74 6f 20 66 |death ma|rch to f|
|00004380| 69 6e 69 73 68 20 62 65 | 66 6f 72 65 00 20 20 20 |inish be|fore. |
|00004390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000043a0| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 20 20 64 | | ; d|
|000043b0| 65 61 64 20 63 6c 6f 77 | 6e 20 72 65 61 63 68 65 |ead clow|n reache|
|000043c0| 73 20 68 65 61 76 65 6e | 2e 00 00 20 20 64 65 61 |s heaven|... dea|
|000043d0| 74 68 79 2e 77 2d 31 20 | 20 20 20 20 20 20 20 20 |thy.w-1 | |
|000043e0| 20 20 20 20 20 20 20 20 | 20 3b 20 4d 6f 76 65 20 | | ; Move |
|000043f0| 64 65 61 64 20 63 6c 6f | 77 6e 20 75 70 20 73 63 |dead clo|wn up sc|
|00004400| 72 65 65 6e 20 61 6e 64 | 20 70 6c 61 79 20 64 65 |reen and| play de|
|00004410| 61 74 68 20 6d 61 72 63 | 68 00 20 20 80 0b 20 64 |ath marc|h. .. d|
|00004420| 65 61 74 68 79 20 3e 20 | 32 33 36 00 20 20 20 20 |eathy > |236. |
|00004430| 64 65 61 64 79 2e 77 20 | 3d 20 32 33 36 00 20 20 |deady.w |= 236. |
|00004440| 80 22 00 20 20 20 20 64 | 65 61 64 79 20 20 3d 20 |.". d|eady = |
|00004450| 64 65 61 74 68 79 00 20 | 20 80 c0 00 00 20 20 20 |deathy. | .... |
|00004460| c9 02 20 30 2c 39 2c 6d | 61 6e 78 2c 64 65 61 64 |.. 0,9,m|anx,dead|
|00004470| 79 20 20 20 20 20 20 20 | 3b 20 62 6c 69 74 20 64 |y |; blit d|
|00004480| 65 61 64 20 63 6c 6f 77 | 6e 00 00 20 20 20 80 0b |ead clow|n.. ..|
|00004490| 20 64 65 61 74 68 79 20 | 3c 3d 20 31 30 20 20 20 | deathy |<= 10 |
|000044a0| 20 20 20 20 20 20 20 20 | 20 3b 20 49 66 20 64 65 | | ; If de|
|000044b0| 61 64 20 63 6c 6f 77 6e | 20 69 6e 20 68 65 61 76 |ad clown| in heav|
|000044c0| 65 6e 20 74 68 65 6e 00 | 20 20 20 20 20 67 61 6d |en then.| gam|
|000044d0| 65 5f 73 74 61 72 74 65 | 64 20 3d 20 bc 0f 20 20 |e_starte|d = .. |
|000044e0| 20 20 20 3b 20 72 65 2d | 69 6e 69 74 69 61 6c 69 | ; re-|initiali|
|000044f0| 73 65 20 76 61 72 69 61 | 62 6c 65 73 20 66 6f 72 |se varia|bles for|
|00004500| 20 6e 65 78 74 20 63 6c | 6f 77 6e 00 20 20 20 20 | next cl|own. |
|00004510| 20 70 6c 61 79 20 3d 20 | bc 0f 00 20 20 20 20 20 | play = |... |
|00004520| 6d 61 6e 79 20 3d 20 31 | 38 33 00 20 20 20 20 20 |many = 1|83. |
|00004530| 6d 61 6e 78 20 3d 20 35 | 30 00 20 20 20 20 20 6d |manx = 5|0. m|
|00004540| 61 6e 64 79 20 3d 20 2d | 34 00 20 20 20 20 20 6c |andy = -|4. l|
|00004550| 69 76 65 73 2d 31 00 20 | 20 20 20 20 62 6f 75 6e |ives-1. | boun|
|00004560| 63 65 20 3d 20 bc 0f 00 | 20 20 20 20 20 72 65 6c |ce = ...| rel|
|00004570| 65 61 73 65 64 20 3d 20 | bc 0f 00 20 20 20 20 20 |eased = |... |
|00004580| 70 6f 70 70 65 64 20 3d | 20 bc 0f 00 20 20 20 20 |popped =| ... |
|00004590| 20 68 69 74 5f 70 6f 73 | 69 74 69 6f 6e 20 3d 20 | hit_pos|ition = |
|000045a0| 34 30 00 20 20 20 20 20 | 80 2c 20 d0 01 20 31 00 |40. |., .. 1.|
|000045b0| 00 20 20 20 20 20 20 80 | 0b 20 6c 69 76 65 73 20 |. .|. lives |
|000045c0| 3d 20 30 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |= 0 | |
|000045d0| 20 20 3b 20 41 6c 6c 20 | 6c 69 76 65 73 20 6c 6f | ; All |lives lo|
|000045e0| 73 74 2e 00 20 20 20 20 | 20 20 20 20 b0 04 00 20 |st.. | ... |
|000045f0| 20 20 20 20 20 20 20 80 | 06 20 68 69 67 68 5f 73 | .|. high_s|
|00004600| 63 6f 72 65 5f 75 70 64 | 61 74 65 20 20 3b 20 44 |core_upd|ate ; D|
|00004610| 69 73 70 6c 61 79 20 68 | 69 67 68 20 73 63 6f 72 |isplay h|igh scor|
|00004620| 65 20 74 61 62 6c 65 2e | 00 20 20 20 20 20 20 20 |e table.|. |
|00004630| 20 80 06 20 69 6e 69 74 | 69 61 6c 69 73 65 20 20 | .. init|ialise |
|00004640| 20 20 20 20 20 20 20 3b | 20 52 65 20 2d 69 6e 69 | ;| Re -ini|
|00004650| 74 69 61 6c 69 73 65 20 | 66 6f 72 20 6e 65 78 74 |tialise |for next|
|00004660| 20 67 61 6d 65 2e 00 20 | 20 20 20 20 20 20 20 74 | game.. | t|
|00004670| 69 6d 65 6f 75 74 5f 73 | 74 61 72 74 2e 6c 20 3d |imeout_s|tart.l =|
|00004680| 20 30 20 20 20 20 20 20 | 3b 20 64 65 6d 6f 20 73 | 0 |; demo s|
|00004690| 74 61 72 74 20 74 69 6d | 65 20 6c 69 6d 69 74 00 |tart tim|e limit.|
|000046a0| 20 20 20 20 20 20 20 20 | 64 65 6d 6f 2e 62 20 3d | |demo.b =|
|000046b0| 20 bc 0f 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | .. | ; |
|000046c0| 64 65 6d 6f 20 73 74 61 | 72 74 20 62 6f 6f 6c 65 |demo sta|rt boole|
|000046d0| 61 6e 00 00 20 20 20 20 | 20 20 20 20 80 0c 20 df |an.. | .. .|
|000046e0| 04 28 30 29 20 3d 20 30 | 20 80 42 20 80 89 20 b1 |.(0) = 0| .B .. .|
|000046f0| 02 28 24 34 35 29 20 20 | 20 3b 20 57 61 69 74 20 |.($45) | ; Wait |
|00004700| 66 6f 72 20 75 73 65 72 | 20 74 6f 20 70 72 65 73 |for user| to pres|
|00004710| 73 20 6d 6f 75 73 65 20 | 6f 72 20 45 73 63 00 20 |s mouse |or Esc. |
|00004720| 20 20 20 20 20 20 20 20 | 20 74 69 6d 65 6f 75 74 | | timeout|
|00004730| 5f 73 74 61 72 74 20 2b | 20 31 00 20 20 20 20 20 |_start +| 1. |
|00004740| 20 20 20 20 20 80 06 20 | 64 69 73 70 6c 61 79 5f | .. |display_|
|00004750| 62 69 74 6d 61 70 73 00 | 00 20 20 20 20 20 20 20 |bitmaps.|. |
|00004760| 20 20 20 80 0b 20 64 69 | 73 70 5f 73 63 6f 72 65 | .. di|sp_score|
|00004770| 5f 74 61 62 6c 65 2e 62 | 20 20 20 20 20 20 20 20 |_table.b| |
|00004780| 20 20 3b 20 54 6f 20 70 | 72 65 76 65 6e 74 20 75 | ; To p|revent u|
|00004790| 6e 71 75 65 75 65 20 6f | 76 65 72 77 72 69 74 69 |nqueue o|verwriti|
|000047a0| 6e 67 00 20 20 20 20 20 | 20 20 20 20 20 20 20 80 |ng. | .|
|000047b0| 06 20 68 69 67 68 5f 73 | 63 6f 72 65 5f 75 70 64 |. high_s|core_upd|
|000047c0| 61 74 65 20 20 20 20 20 | 20 3b 20 68 69 67 68 20 |ate | ; high |
|000047d0| 73 63 6f 72 65 20 74 61 | 62 6c 65 00 20 20 20 20 |score ta|ble. |
|000047e0| 20 20 20 20 20 20 20 20 | 64 69 73 70 5f 73 63 6f | |disp_sco|
|000047f0| 72 65 5f 74 61 62 6c 65 | 20 3d 20 bc 0f 00 20 20 |re_table| = ... |
|00004800| 20 20 20 20 20 20 20 20 | 80 c0 00 00 20 20 20 20 | |.... |
|00004810| 20 20 20 20 20 20 80 06 | 20 6d 6f 76 65 5f 73 65 | ..| move_se|
|00004820| 65 73 61 77 00 00 20 20 | 20 20 20 20 20 20 20 20 |esaw.. | |
|00004830| 80 0b 20 74 69 6d 65 6f | 75 74 5f 73 74 61 72 74 |.. timeo|ut_start|
|00004840| 20 3e 20 31 30 30 30 20 | 80 8a 20 64 65 6d 6f 2e | > 1000 |.. demo.|
|00004850| 62 00 00 20 20 20 20 20 | 20 20 20 20 20 20 20 80 |b.. | .|
|00004860| 0b 20 80 89 20 64 65 6d | 6f 20 20 20 20 20 20 20 |. .. dem|o |
|00004870| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 49 66 20 | | ; If |
|00004880| 64 65 6d 6f 20 6a 75 73 | 74 20 73 74 61 72 74 65 |demo jus|t starte|
|00004890| 64 20 63 6c 65 61 72 20 | 68 69 67 68 20 73 63 6f |d clear |high sco|
|000048a0| 72 65 00 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |re. | |
|000048b0| 80 06 20 73 65 74 75 70 | 5f 62 61 6c 6f 6f 6e 73 |.. setup|_baloons|
|000048c0| 00 20 20 20 20 20 20 20 | 20 20 20 20 20 20 80 2c |. | .,|
|000048d0| 20 d0 01 20 31 00 20 20 | 20 20 20 20 20 20 20 20 | .. 1. | |
|000048e0| 20 20 20 b2 05 20 30 00 | 20 20 20 20 20 20 20 20 | .. 0.| |
|000048f0| 20 20 20 20 20 cb 01 20 | 33 30 2c 31 30 2c 30 20 | .. |30,10,0 |
|00004900| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|00004910| 20 44 69 73 70 6c 61 79 | 20 62 61 63 6b 67 72 6f | Display| backgro|
|00004920| 75 6e 64 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |und. | |
|00004930| 80 c0 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00004940| 64 65 6d 6f 20 3d 20 bc | 0e 20 20 20 20 20 20 20 |demo = .|. |
|00004950| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 44 65 6d | | ; Dem|
|00004960| 6f 20 73 74 61 72 74 65 | 64 00 00 3b 20 49 6e 63 |o starte|d..; Inc|
|00004970| 72 65 6d 65 6e 74 20 63 | 6c 6f 77 6e 20 78 20 61 |rement c|lown x a|
|00004980| 6e 64 20 79 20 73 63 72 | 65 65 6e 20 70 6f 73 69 |nd y scr|een posi|
|00004990| 74 69 6f 6e 20 61 6e 64 | 20 63 68 65 63 6b 20 62 |tion and| check b|
|000049a0| 6f 75 6e 64 61 72 69 65 | 73 00 00 20 20 20 20 20 |oundarie|s.. |
|000049b0| 20 20 20 20 20 20 20 80 | 06 20 63 68 61 6e 67 65 | .|. change|
|000049c0| 5f 63 6c 6f 77 6e 5f 70 | 6f 73 69 74 69 6f 6e 00 |_clown_p|osition.|
|000049d0| 00 20 3b 20 63 68 65 63 | 6b 20 46 6f 72 20 63 6f |. ; chec|k For co|
|000049e0| 6c 6c 69 73 69 6f 6e 20 | 77 69 74 68 20 73 65 65 |llision |with see|
|000049f0| 20 73 61 77 00 00 20 20 | 20 20 20 20 20 20 20 20 | saw.. | |
|00004a00| 20 20 80 06 20 73 65 65 | 5f 73 61 77 5f 63 6f 6c | .. see|_saw_col|
|00004a10| 6c 69 73 69 6f 6e 00 00 | 3b 20 42 6c 69 74 20 63 |lision..|; Blit c|
|00004a20| 6c 6f 77 6e 20 6f 6e 74 | 6f 20 62 69 74 6d 61 70 |lown ont|o bitmap|
|00004a30| 20 30 00 00 20 20 20 20 | 20 20 20 20 20 20 20 20 | 0.. | |
|00004a40| c9 02 20 30 2c 6d 61 6e | 2c 6d 61 6e 78 2c 6d 61 |.. 0,man|,manx,ma|
|00004a50| 6e 79 00 00 3b 20 44 69 | 73 70 6c 61 79 20 62 61 |ny..; Di|splay ba|
|00004a60| 6c 6f 6f 6e 20 65 78 70 | 6c 6f 73 69 6f 6e 00 00 |loon exp|losion..|
|00004a70| 00 20 20 20 20 20 20 20 | 20 20 20 20 20 80 0b 20 |. | .. |
|00004a80| 70 6f 70 70 65 64 2e 62 | 00 20 20 20 20 20 20 20 |popped.b|. |
|00004a90| 20 20 20 20 20 20 20 c9 | 02 20 30 2c 70 6f 70 70 | .|. 0,popp|
|00004aa0| 65 64 5f 69 6e 64 65 78 | 2c 73 61 76 65 5f 70 6f |ed_index|,save_po|
|00004ab0| 70 78 2e 77 2c 73 61 76 | 65 5f 70 6f 70 79 2e 77 |px.w,sav|e_popy.w|
|00004ac0| 00 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 80 |. | .|
|00004ad0| 0b 20 70 6f 70 70 65 64 | 5f 69 6e 64 65 78 20 3d |. popped|_index =|
|00004ae0| 20 32 35 00 20 20 20 20 | 20 20 20 20 20 20 20 20 | 25. | |
|00004af0| 20 20 20 20 70 6f 70 70 | 65 64 20 3d 20 bc 0f 00 | popp|ed = ...|
|00004b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004b10| 70 6f 70 70 65 64 5f 69 | 6e 64 65 78 20 3d 20 31 |popped_i|ndex = 1|
|00004b20| 35 00 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |5. | |
|00004b30| 80 c0 00 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |... | |
|00004b40| 20 70 6f 70 70 65 64 5f | 69 6e 64 65 78 20 2b 20 | popped_|index + |
|00004b50| 31 00 20 20 20 20 20 20 | 20 20 20 20 20 20 80 c0 |1. | ..|
|00004b60| 00 00 3b 20 43 68 65 63 | 6b 20 66 6f 72 20 43 6c |..; Chec|k for Cl|
|00004b70| 6f 77 6e 2f 42 61 6c 6f | 6f 6e 20 63 6f 6c 6c 69 |own/Balo|on colli|
|00004b80| 73 69 6f 6e 00 00 20 20 | 20 20 20 20 20 20 20 20 |sion.. | |
|00004b90| 20 20 80 0b 20 6d 61 6e | 79 20 3c 20 31 33 30 00 | .. man|y < 130.|
|00004ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 80 06 | | ..|
|00004bb0| 20 42 61 6c 6f 6f 6e 5f | 63 6f 6c 6c 69 73 69 6f | Baloon_|collisio|
|00004bc0| 6e 00 20 20 20 20 20 20 | 20 20 20 20 20 20 80 c0 |n. | ..|
|00004bd0| 00 00 3b 20 43 61 6c 63 | 75 6c 61 74 65 20 79 20 |..; Calc|ulate y |
|00004be0| 69 6e 63 72 65 6d 65 6e | 74 20 66 6f 72 20 63 6c |incremen|t for cl|
|00004bf0| 6f 77 6e 20 70 72 6f 76 | 69 64 69 6e 67 20 61 20 |own prov|iding a |
|00004c00| 6b 69 6e 64 20 6f 66 20 | 67 72 61 76 69 74 79 20 |kind of |gravity |
|00004c10| 65 66 66 65 63 74 00 00 | 20 20 20 20 20 20 20 20 |effect..| |
|00004c20| 20 20 20 20 80 06 20 63 | 6c 6f 77 6e 5f 79 5f 76 | .. c|lown_y_v|
|00004c30| 65 6c 6f 63 69 74 79 00 | 00 20 20 20 20 20 20 20 |elocity.|. |
|00004c40| 20 20 20 20 20 80 0b 20 | 74 69 6d 65 6f 75 74 5f | .. |timeout_|
|00004c50| 73 74 61 72 74 20 3e 20 | 33 30 30 30 20 20 20 20 |start > |3000 |
|00004c60| 20 3b 20 73 74 6f 70 20 | 64 65 6d 6f 20 61 6e 64 | ; stop |demo and|
|00004c70| 20 64 69 73 70 6c 61 79 | 20 68 69 67 68 20 73 63 | display| high sc|
|00004c80| 6f 72 65 20 74 61 62 6c | 65 00 20 20 20 20 20 20 |ore tabl|e. |
|00004c90| 20 20 20 20 20 20 20 20 | 74 69 6d 65 6f 75 74 5f | |timeout_|
|00004ca0| 73 74 61 72 74 20 3d 20 | 30 00 20 20 20 20 20 20 |start = |0. |
|00004cb0| 20 20 20 20 20 20 20 20 | 64 65 6d 6f 20 3d 20 bc | |demo = .|
|00004cc0| 0f 00 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00004cd0| 64 69 73 70 5f 73 63 6f | 72 65 5f 74 61 62 6c 65 |disp_sco|re_table|
|00004ce0| 20 3d 20 bc 0e 00 20 20 | 20 20 20 20 20 20 20 20 | = ... | |
|00004cf0| 20 20 20 20 80 06 20 73 | 65 74 75 70 5f 62 61 6c | .. s|etup_bal|
|00004d00| 6f 6f 6e 73 00 20 20 20 | 20 20 20 20 20 20 20 20 |oons. | |
|00004d10| 20 20 20 80 06 20 69 6e | 69 74 69 61 6c 69 73 65 | .. in|itialise|
|00004d20| 00 20 20 20 20 20 20 20 | 20 20 20 20 20 80 c0 00 |. | ...|
|00004d30| 20 20 20 20 20 20 20 20 | 20 20 80 c0 00 20 20 20 | | ... |
|00004d40| 20 20 20 20 20 80 c1 00 | 00 20 20 20 20 20 20 20 | ...|. |
|00004d50| 20 b2 05 20 30 00 20 20 | 20 20 20 20 20 20 cb 01 | .. 0. | ..|
|00004d60| 20 33 30 2c 31 30 2c 30 | 20 20 20 20 20 20 20 20 | 30,10,0| |
|00004d70| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 44 69 | | ; Di|
|00004d80| 73 70 6c 61 79 20 62 61 | 63 6b 6b 72 6f 75 6e 64 |splay ba|ckkround|
|00004d90| 00 20 20 20 20 20 20 20 | 20 80 06 20 73 65 74 75 |. | .. setu|
|00004da0| 70 5f 62 61 6c 6f 6f 6e | 73 00 20 20 20 20 20 20 |p_baloon|s. |
|00004db0| 20 20 80 06 20 69 6e 69 | 74 69 61 6c 69 73 65 20 | .. ini|tialise |
|00004dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|00004dd0| 20 52 65 20 2d 69 6e 69 | 74 69 61 6c 69 73 65 20 | Re -ini|tialise |
|00004de0| 66 6f 72 20 6e 65 78 74 | 20 67 61 6d 65 2e 00 20 |for next| game.. |
|00004df0| 20 20 20 20 20 80 c0 00 | 00 20 20 20 20 20 20 80 | ...|. .|
|00004e00| 06 20 64 69 73 70 6c 61 | 79 5f 6c 69 76 65 73 00 |. displa|y_lives.|
|00004e10| 20 20 20 20 20 20 80 06 | 20 73 63 6f 72 65 5f 64 | ..| score_d|
|00004e20| 69 73 70 6c 61 79 00 20 | 20 20 20 20 20 b0 04 00 |isplay. | ...|
|00004e30| 20 20 20 80 c0 00 80 07 | 00 3b 3b 3b 3b 3b 3b 3b | .....|.;;;;;;;|
|00004e40| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004e50| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004e60| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00004e70| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 00 2e 62 6f 6e 75 |;;;;;;;;|;;..bonu|
|00004e80| 73 3a 00 20 80 2c 20 d0 | 01 20 31 00 20 ba 07 20 |s:. ., .|. 1. .. |
|00004e90| 32 2c 32 2c 36 34 2c 36 | 34 00 20 80 0e 20 62 6f |2,2,64,6|4. .. bo|
|00004ea0| 6e 75 73 5f 74 79 70 65 | 2e 62 00 20 80 0f 20 31 |nus_type|.b. .. 1|
|00004eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004ec0| 20 20 20 20 20 20 20 20 | 20 20 3b 20 65 78 74 72 | | ; extr|
|00004ed0| 61 20 63 6c 6f 77 6e 20 | 61 6e 64 20 31 30 30 30 |a clown |and 1000|
|00004ee0| 20 70 6f 69 6e 74 73 00 | 20 20 80 16 20 69 6e 64 | points.| .. ind|
|00004ef0| 65 78 20 3d 20 31 20 80 | 18 20 31 30 30 30 20 80 |ex = 1 .|. 1000 .|
|00004f00| 19 20 32 30 00 20 20 20 | 20 73 63 6f 72 65 20 3d |. 20. | score =|
|00004f10| 20 73 63 6f 72 65 20 2b | 20 32 30 00 20 20 20 20 | score +| 20. |
|00004f20| 80 06 20 73 63 6f 72 65 | 5f 64 69 73 70 6c 61 79 |.. score|_display|
|00004f30| 00 20 20 20 20 80 06 20 | 64 69 73 70 6c 61 79 5f |. .. |display_|
|00004f40| 62 69 74 6d 61 70 73 00 | 20 20 20 20 c9 02 20 30 |bitmaps.| .. 0|
|00004f50| 2c 6d 61 6e 2c 6d 61 6e | 78 2c 6d 61 6e 79 00 20 |,man,man|x,many. |
|00004f60| 20 20 20 80 06 20 6d 6f | 76 65 5f 73 65 65 73 61 | .. mo|ve_seesa|
|00004f70| 77 00 20 20 20 20 ba 04 | 20 32 2c 32 2c 36 34 2c |w. ..| 2,2,64,|
|00004f80| 36 34 00 20 20 80 17 00 | 00 20 20 80 0b 20 66 6c |64. ...|. .. fl|
|00004f90| 79 2e 62 20 80 8a 20 62 | 6f 75 6e 63 65 2e 62 20 |y.b .. b|ounce.b |
|00004fa0| 80 8a 20 6d 6f 75 73 65 | 5f 6d 6f 76 65 2e 62 00 |.. mouse|_move.b.|
|00004fb0| 20 20 20 20 ba 07 20 32 | 2c 32 2c 36 34 2c 36 34 | .. 2|,2,64,64|
|00004fc0| 20 20 20 20 20 20 20 20 | 20 20 3b 20 52 65 69 6e | | ; Rein|
|00004fd0| 73 74 61 74 65 20 6c 6f | 6f 70 65 64 20 62 6f 6e |state lo|oped bon|
|00004fe0| 75 73 20 73 6f 75 6e 64 | 00 20 20 80 c0 00 00 20 |us sound|. .... |
|00004ff0| 20 20 6c 69 76 65 73 20 | 3d 20 6c 69 76 65 73 20 | lives |= lives |
|00005000| 2b 20 31 00 20 20 20 80 | 06 20 64 69 73 70 6c 61 |+ 1. .|. displa|
|00005010| 79 5f 6c 69 76 65 73 00 | 20 80 0f 20 32 20 20 20 |y_lives.| .. 2 |
|00005020| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005030| 20 20 20 20 20 20 20 3b | 20 54 69 67 68 74 72 6f | ;| Tightro|
|00005040| 70 65 20 62 6f 75 6e 63 | 65 00 20 20 20 62 6f 75 |pe bounc|e. bou|
|00005050| 6e 63 65 20 3d 20 bc 0e | 20 20 20 20 20 20 20 20 |nce = ..| |
|00005060| 20 20 20 20 20 20 20 20 | 20 3b 20 50 72 6f 64 75 | | ; Produ|
|00005070| 63 65 64 20 62 79 20 63 | 61 74 63 68 69 6e 67 20 |ced by c|atching |
|00005080| 66 6c 6f 77 65 72 73 00 | 20 20 20 62 74 69 6d 65 |flowers.| btime|
|00005090| 6f 75 74 20 3d 20 30 20 | 20 20 20 20 20 20 20 20 |out = 0 | |
|000050a0| 20 20 20 20 20 20 20 20 | 20 3b 20 77 69 74 68 20 | | ; with |
|000050b0| 73 65 65 20 73 61 77 00 | 20 20 20 80 2c 20 d0 01 |see saw.| ., ..|
|000050c0| 20 31 00 20 80 0f 20 33 | 20 20 20 20 20 20 20 20 | 1. .. 3| |
|000050d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000050e0| 20 20 3b 20 4d 61 67 6e | 65 74 69 63 20 73 65 65 | ; Magn|etic see|
|000050f0| 20 73 61 77 20 62 6f 6e | 75 73 00 20 20 20 6d 6f | saw bon|us. mo|
|00005100| 75 73 65 5f 6d 6f 76 65 | 2e 62 20 3d 20 bc 0e 00 |use_move|.b = ...|
|00005110| 20 20 20 6d 74 69 6d 65 | 6f 75 74 20 3d 20 30 00 | mtime|out = 0.|
|00005120| 20 80 0f 20 34 00 20 20 | 20 66 6c 79 2e 62 20 3d | .. 4. | fly.b =|
|00005130| 20 bc 0e 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | .. | |
|00005140| 20 20 20 20 20 3b 20 63 | 6c 6f 77 6e 20 66 6c 79 | ; c|lown fly|
|00005150| 20 62 6f 6e 75 73 00 20 | 20 20 66 74 69 6d 65 6f | bonus. | ftimeo|
|00005160| 75 74 20 3d 20 30 00 80 | 02 20 80 0e 00 00 80 07 |ut = 0..|. ......|
|00005170| 00 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |.;;;;;;;|;;;;;;;;|
|00005180| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005190| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000051a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000051b0| 3b 3b 00 2e 64 69 73 70 | 6c 61 79 5f 62 69 74 6d |;;..disp|lay_bitm|
|000051c0| 61 70 73 00 20 20 78 2e | 77 3d bc 06 28 78 2b 73 |aps. x.|w=..(x+s|
|000051d0| 63 72 65 65 6e 64 58 2c | 30 2c 33 32 30 29 20 20 |creendX,|0,320) |
|000051e0| 3b 20 57 72 61 70 20 73 | 63 72 65 65 6e 20 66 6f |; Wrap s|creen fo|
|000051f0| 72 20 73 6d 6f 6f 74 68 | 20 73 63 72 6f 6c 6c 20 |r smooth| scroll |
|00005200| 6f 66 20 62 61 6c 6f 6f | 6e 73 2e 00 20 20 80 37 |of baloo|ns.. .7|
|00005210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005220| 20 20 20 20 20 20 20 20 | 3b 20 57 61 69 74 20 66 | |; Wait f|
|00005230| 6f 72 20 73 63 72 65 65 | 6e 20 73 79 6e 63 2e 00 |or scree|n sync..|
|00005240| 20 20 c9 03 20 30 20 20 | 20 20 20 20 20 20 20 20 | .. 0 | |
|00005250| 20 20 20 20 20 20 20 20 | 20 3b 20 75 6e 62 75 66 | | ; unbuf|
|00005260| 66 65 72 20 73 68 61 70 | 65 73 20 74 6f 20 72 65 |fer shap|es to re|
|00005270| 6d 6f 76 65 20 66 72 6f | 6e 20 73 63 72 65 65 6e |move fro|n screen|
|00005280| 00 00 20 20 c8 05 20 31 | 2c 31 30 2c 30 2c 78 2b |.. .. 1|,10,0,x+|
|00005290| 31 30 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 |10 | ; |
|000052a0| 53 68 6f 77 20 63 6c 6f | 77 6e 20 6d 6f 76 65 20 |Show clo|wn move |
|000052b0| 62 69 74 6d 61 70 2e 00 | 20 20 c8 06 20 30 2c 78 |bitmap..| .. 0,x|
|000052c0| 2b 31 30 2c 79 2e 77 2c | 31 30 20 20 20 20 20 20 |+10,y.w,|10 |
|000052d0| 20 20 20 20 3b 20 53 68 | 6f 77 20 62 61 6c 6f 6f | ; Sh|ow baloo|
|000052e0| 6e 20 73 63 72 6f 6c 6c | 20 62 69 74 6d 61 70 2e |n scroll| bitmap.|
|000052f0| 00 80 07 00 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |....;;;;|;;;;;;;;|
|00005300| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005310| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005320| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005330| 3b 3b 3b 3b 3b 00 2e 62 | 6f 6e 75 73 5f 72 65 6c |;;;;;..b|onus_rel|
|00005340| 65 61 73 65 00 20 20 80 | 2c 20 d0 01 20 31 00 20 |ease. .|, .. 1. |
|00005350| 20 6f 62 6a 65 63 74 79 | 20 2b 20 31 00 20 20 c9 | objecty| + 1. .|
|00005360| 02 20 30 2c 6f 62 6a 65 | 63 74 2c 6f 62 6a 65 63 |. 0,obje|ct,objec|
|00005370| 74 78 2c 6f 62 6a 65 63 | 74 79 00 20 20 80 0b 20 |tx,objec|ty. .. |
|00005380| b4 06 20 28 6f 62 6a 65 | 63 74 2c 6f 62 6a 65 63 |.. (obje|ct,objec|
|00005390| 74 78 2c 6f 62 6a 65 63 | 74 79 2c 33 2c 78 30 2e |tx,objec|ty,3,x0.|
|000053a0| 77 2c 79 30 2b 32 30 29 | 00 20 20 20 20 80 0e 20 |w,y0+20)|. .. |
|000053b0| 6f 62 6a 65 63 74 20 20 | 20 20 20 20 20 20 20 20 |object | |
|000053c0| 20 3b 20 20 53 65 6c 65 | 63 74 20 62 6f 6e 75 73 | ; Sele|ct bonus|
|000053d0| 20 64 65 70 65 6e 64 69 | 6e 67 20 6f 6e 20 6f 62 | dependi|ng on ob|
|000053e0| 6a 65 63 74 00 20 20 20 | 20 20 20 80 0f 20 31 31 |ject. | .. 11|
|000053f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|00005400| 20 20 72 65 6c 65 61 73 | 65 64 2e 20 74 68 69 73 | releas|ed. this|
|00005410| 20 69 73 20 75 73 65 64 | 20 69 6e 20 74 68 65 20 | is used| in the |
|00005420| 62 6f 6e 75 73 00 20 20 | 20 20 20 20 20 20 62 6f |bonus. | bo|
|00005430| 6e 75 73 5f 74 79 70 65 | 20 3d 20 32 20 20 20 20 |nus_type| = 2 |
|00005440| 20 20 3b 20 20 73 75 62 | 72 6f 75 74 69 6e 65 00 | ; sub|routine.|
|00005450| 20 20 20 20 20 20 80 0f | 20 31 32 00 20 20 20 20 | ..| 12. |
|00005460| 20 20 20 20 62 6f 6e 75 | 73 5f 74 79 70 65 20 3d | bonu|s_type =|
|00005470| 20 33 00 20 20 20 20 20 | 20 80 0f 20 31 33 00 20 | 3. | .. 13. |
|00005480| 20 20 20 20 20 20 20 62 | 6f 6e 75 73 5f 74 79 70 | b|onus_typ|
|00005490| 65 20 3d 20 31 00 20 20 | 20 20 20 20 80 0f 20 31 |e = 1. | .. 1|
|000054a0| 34 00 20 20 20 20 20 20 | 20 20 62 6f 6e 75 73 5f |4. | bonus_|
|000054b0| 74 79 70 65 20 3d 20 34 | 00 20 20 20 20 80 02 20 |type = 4|. .. |
|000054c0| 80 0e 00 00 20 20 20 20 | 80 06 20 62 6f 6e 75 73 |.... |.. bonus|
|000054d0| 00 20 20 20 20 72 65 6c | 65 61 73 65 64 20 3d 20 |. rel|eased = |
|000054e0| bc 0f 00 20 20 80 c0 00 | 20 20 80 0b 20 6f 62 6a |... ...| .. obj|
|000054f0| 65 63 74 79 20 3e 20 32 | 32 38 20 80 21 20 72 65 |ecty > 2|28 .! re|
|00005500| 6c 65 61 73 65 64 20 3d | 20 bc 0f 00 80 07 00 3b |leased =| ......;|
|00005510| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005520| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005530| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005540| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005550| 00 2e 68 69 67 68 5f 73 | 63 6f 72 65 5f 75 70 64 |..high_s|core_upd|
|00005560| 61 74 65 00 00 20 20 80 | 2c 20 d0 01 20 31 00 20 |ate.. .|, .. 1. |
|00005570| 20 80 0b 20 80 89 20 64 | 65 6d 6f 00 20 20 20 20 | .. .. d|emo. |
|00005580| 70 6f 73 69 74 69 6f 6e | 2e 62 20 3d 20 2d 31 20 |position|.b = -1 |
|00005590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000055a0| 20 20 20 20 3b 20 4f 62 | 74 61 69 6e 20 68 69 67 | ; Ob|tain hig|
|000055b0| 68 20 73 63 6f 72 65 20 | 70 6f 73 69 74 69 6f 6e |h score |position|
|000055c0| 20 69 6e 20 74 61 62 6c | 65 00 20 20 20 20 80 16 | in tabl|e. ..|
|000055d0| 20 69 6e 64 65 78 20 3d | 20 31 31 20 80 18 20 30 | index =| 11 .. 0|
|000055e0| 20 80 19 20 2d 20 31 00 | 20 20 20 20 20 80 0b 20 | .. - 1.| .. |
|000055f0| 73 63 6f 72 65 20 3e 20 | 74 61 62 6c 65 28 69 6e |score > |table(in|
|00005600| 64 65 78 29 5c 73 63 6f | 72 65 5f 68 69 67 68 00 |dex)\sco|re_high.|
|00005610| 20 20 20 20 20 20 20 70 | 6f 73 69 74 69 6f 6e 2e | p|osition.|
|00005620| 62 20 3d 20 69 6e 64 65 | 78 00 20 20 20 20 20 80 |b = inde|x. .|
|00005630| c0 00 20 20 20 20 80 17 | 00 00 20 20 20 20 80 0b |.. ..|.. ..|
|00005640| 20 70 6f 73 69 74 69 6f | 6e 20 3e 3d 20 30 20 20 | positio|n >= 0 |
|00005650| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005660| 20 20 3b 20 49 66 20 48 | 69 67 68 20 73 63 6f 72 | ; If H|igh scor|
|00005670| 65 20 70 6f 73 69 74 69 | 6f 6e 20 6f 62 74 61 69 |e positi|on obtai|
|00005680| 6e 65 64 2e 00 20 20 20 | 20 20 20 20 20 20 20 20 |ned.. | |
|00005690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000056a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3b 20 53 | | ; S|
|000056b0| 68 75 66 66 6c 65 20 68 | 69 67 68 20 73 63 6f 72 |huffle h|igh scor|
|000056c0| 65 73 20 62 65 6c 6f 77 | 20 6e 65 77 20 6f 6e 65 |es below| new one|
|000056d0| 00 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000056e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000056f0| 20 20 20 20 20 20 20 20 | 20 3b 20 70 75 73 68 69 | | ; pushi|
|00005700| 6e 67 20 62 6f 74 74 6f | 6d 20 6f 6e 65 20 6f 66 |ng botto|m one of|
|00005710| 66 2e 00 20 20 20 20 20 | 20 80 16 20 69 6e 64 65 |f.. | .. inde|
|00005720| 78 20 3d 20 31 31 20 80 | 18 20 70 6f 73 69 74 69 |x = 11 .|. positi|
|00005730| 6f 6e 20 2b 20 31 20 80 | 19 20 2d 31 00 20 20 20 |on + 1 .|. -1. |
|00005740| 20 20 20 20 20 74 61 62 | 6c 65 28 69 6e 64 65 78 | tab|le(index|
|00005750| 29 5c 6e 61 6d 65 5f 68 | 69 67 68 20 3d 20 74 61 |)\name_h|igh = ta|
|00005760| 62 6c 65 28 69 6e 64 65 | 78 2d 31 29 5c 6e 61 6d |ble(inde|x-1)\nam|
|00005770| 65 5f 68 69 67 68 00 20 | 20 20 20 20 20 20 20 74 |e_high. | t|
|00005780| 61 62 6c 65 28 69 6e 64 | 65 78 29 5c 73 63 6f 72 |able(ind|ex)\scor|
|00005790| 65 5f 68 69 67 68 20 3d | 20 74 61 62 6c 65 28 69 |e_high =| table(i|
|000057a0| 6e 64 65 78 2d 31 29 5c | 73 63 6f 72 65 5f 68 69 |ndex-1)\|score_hi|
|000057b0| 67 68 00 20 20 20 20 20 | 20 80 17 00 00 20 20 20 |gh. | .... |
|000057c0| 20 20 20 c7 03 20 35 20 | 20 20 20 20 20 20 20 20 | .. 5 | |
|000057d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000057e0| 20 20 3b 20 44 69 73 70 | 6c 61 79 20 68 69 67 68 | ; Disp|lay high|
|000057f0| 20 73 63 6f 72 65 20 6e | 61 6d 65 20 72 65 71 75 | score n|ame requ|
|00005800| 65 73 74 2e 00 20 20 20 | 20 20 20 c7 04 20 31 34 |est.. | .. 14|
|00005810| 2c 31 34 00 20 20 20 20 | 20 20 dd 82 20 22 43 6f |,14. | .. "Co|
|00005820| 6e 67 72 61 74 75 6c 61 | 74 69 6f 6e 73 22 00 20 |ngratula|tions". |
|00005830| 20 20 20 20 20 c7 04 20 | 31 34 2c 31 36 00 20 20 | .. |14,16. |
|00005840| 20 20 20 20 dd 82 20 22 | 41 20 6e 65 77 20 68 69 | .. "|A new hi|
|00005850| 67 68 20 73 63 6f 72 65 | 22 00 20 20 20 20 20 20 |gh score|". |
|00005860| c7 04 20 31 31 2c 31 38 | 00 20 20 20 20 20 20 dd |.. 11,18|. .|
|00005870| 82 20 22 50 6c 65 61 73 | 65 20 65 6e 74 65 72 20 |. "Pleas|e enter |
|00005880| 79 6f 75 72 20 6e 61 6d | 65 3a 22 00 00 20 20 20 |your nam|e:".. |
|00005890| 20 20 20 c7 03 20 34 20 | 20 20 20 20 20 20 20 20 | .. 4 | |
|000058a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000058b0| 20 20 3b 20 54 65 78 74 | 20 63 6f 6c 6f 75 72 20 | ; Text| colour |
|000058c0| 69 73 20 62 6c 75 65 2e | 00 20 20 20 20 20 20 c7 |is blue.|. .|
|000058d0| 04 20 31 34 2c 32 30 20 | 20 20 20 20 20 20 20 20 |. 14,20 | |
|000058e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|000058f0| 50 6f 73 69 74 69 6f 6e | 20 74 65 78 74 20 6f 6e |Position| text on|
|00005900| 20 73 63 72 65 65 6e 2e | 00 20 20 20 20 20 20 6e | screen.|. n|
|00005910| 61 6d 65 24 3d dd 01 28 | 22 20 22 2c 31 36 29 20 |ame$=..(|" ",16) |
|00005920| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|00005930| 20 47 65 74 20 75 73 65 | 72 73 20 6e 61 6d 65 2e | Get use|rs name.|
|00005940| 00 20 20 20 20 20 20 6c | 65 6e 67 74 68 2e 62 20 |. l|ength.b |
|00005950| 3d 20 31 36 20 2d 20 dc | 8f 20 28 6e 61 6d 65 24 |= 16 - .|. (name$|
|00005960| 29 20 20 20 20 20 20 20 | 20 3b 20 47 65 74 20 6c |) | ; Get l|
|00005970| 65 6e 67 74 68 20 6f 66 | 20 6e 61 6d 65 20 61 6e |ength of| name an|
|00005980| 64 20 70 61 64 20 77 69 | 74 68 00 20 20 20 20 20 |d pad wi|th. |
|00005990| 20 80 0b 20 6c 65 6e 67 | 74 68 20 3e 20 30 20 20 | .. leng|th > 0 |
|000059a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000059b0| 20 20 20 20 3b 20 53 70 | 61 63 65 73 20 69 66 20 | ; Sp|aces if |
|000059c0| 6c 65 73 73 20 74 68 61 | 6e 20 31 36 20 63 68 61 |less tha|n 16 cha|
|000059d0| 72 61 63 74 65 72 73 20 | 6c 6f 6e 67 2e 00 20 20 |racters |long.. |
|000059e0| 20 20 20 20 20 20 80 16 | 20 69 6e 64 65 78 20 3d | ..| index =|
|000059f0| 20 31 20 80 18 20 6c 65 | 6e 67 74 68 00 20 20 20 | 1 .. le|ngth. |
|00005a00| 20 20 20 20 20 20 20 6e | 61 6d 65 24 3d 6e 61 6d | n|ame$=nam|
|00005a10| 65 24 20 2b 20 22 20 22 | 00 20 20 20 20 20 20 20 |e$ + " "|. |
|00005a20| 20 80 17 00 20 20 20 20 | 20 80 c0 00 00 20 20 20 | ... | .... |
|00005a30| 20 20 74 61 62 6c 65 28 | 70 6f 73 69 74 69 6f 6e | table(|position|
|00005a40| 29 5c 6e 61 6d 65 5f 68 | 69 67 68 20 3d 20 6e 61 |)\name_h|igh = na|
|00005a50| 6d 65 24 20 20 3b 20 50 | 75 74 20 75 73 65 72 73 |me$ ; P|ut users|
|00005a60| 20 6e 61 6d 65 20 6f 6e | 20 68 69 67 68 20 73 63 | name on| high sc|
|00005a70| 6f 72 65 20 74 61 62 6c | 65 2e 00 20 20 20 20 20 |ore tabl|e.. |
|00005a80| 74 61 62 6c 65 28 70 6f | 73 69 74 69 6f 6e 29 5c |table(po|sition)\|
|00005a90| 73 63 6f 72 65 5f 68 69 | 67 68 20 3d 20 73 63 6f |score_hi|gh = sco|
|00005aa0| 72 65 20 3b 20 50 75 74 | 20 75 73 65 72 73 20 73 |re ; Put| users s|
|00005ab0| 63 6f 72 65 20 6f 6e 20 | 68 69 67 68 20 73 63 6f |core on |high sco|
|00005ac0| 72 65 20 74 61 62 6c 65 | 2e 00 20 20 20 20 20 b2 |re table|.. .|
|00005ad0| 05 30 00 20 20 20 20 80 | c0 00 20 20 80 c0 00 00 |.0. .|.. ....|
|00005ae0| 20 20 c7 03 20 35 20 20 | 20 20 20 20 20 20 20 20 | .. 5 | |
|00005af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005b00| 20 3b 20 44 69 73 70 6c | 61 79 20 68 69 67 68 20 | ; Displ|ay high |
|00005b10| 73 63 6f 72 65 20 74 61 | 62 6c 65 00 20 20 80 37 |score ta|ble. .7|
|00005b20| 00 20 20 b2 05 20 30 00 | 20 20 cb 01 20 33 30 2c |. .. 0.| .. 30,|
|00005b30| 31 30 2c 30 20 20 20 20 | 20 20 20 20 20 20 20 20 |10,0 | |
|00005b40| 20 20 20 20 20 20 20 20 | 20 3b 20 44 69 73 70 6c | | ; Displ|
|00005b50| 61 79 20 74 65 6e 74 00 | 20 20 80 16 20 69 6e 64 |ay tent.| .. ind|
|00005b60| 65 78 20 3d 20 30 20 80 | 18 20 32 32 20 80 19 20 |ex = 0 .|. 22 .. |
|00005b70| 32 00 20 20 c7 04 20 39 | 2c 69 6e 64 65 78 2b 33 |2. .. 9|,index+3|
|00005b80| 00 20 20 dd 82 20 74 61 | 62 6c 65 28 69 6e 64 65 |. .. ta|ble(inde|
|00005b90| 78 2f 32 29 5c 6e 61 6d | 65 5f 68 69 67 68 2c 22 |x/2)\nam|e_high,"|
|00005ba0| 20 22 2c 74 61 62 6c 65 | 28 69 6e 64 65 78 2f 32 | ",table|(index/2|
|00005bb0| 29 5c 73 63 6f 72 65 5f | 68 69 67 68 00 80 17 00 |)\score_|high....|
|00005bc0| 00 80 07 00 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |....;;;;|;;;;;;;;|
|00005bd0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005be0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005bf0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00005c00| 3b 3b 3b 3b 3b 00 | |;;;;;. | |
+--------+-------------------------+-------------------------+--------+--------+