Advertisement
ACagliano

Star Trek

May 11th, 2011
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; STARTREK:
  2. ; ACagliano:
  3. ; Version 1.0:
  4. ; 5.10.2011:
  5. ; Written for DoorsCS7.0 or higher
  6.  
  7. .nolist
  8. #include    "ti83plus.inc"
  9. #include    "dcs7.inc"
  10. .list
  11. ShieldPoints    .equ    saferam2        ;ship data
  12. WarpPoints  .equ    ShieldPoints+1
  13. ImpulsePoints   .equ    WarpPoints+1
  14. RepairPoints    .equ    ImpulsePoints+1
  15. PhaserPoints    .equ    RepairPoints+1
  16. PhotonPoints    .equ    PhaserPoints+1
  17. TransPoints .equ    PhotonPoints+1
  18. GenPoints   .equ    TransPoints+1
  19. LifeSupPoints   .equ    GenPoints+1
  20. xposition   .equ    LifeSupPoints+1     ;ship position
  21. yposition   .equ    xposition+2
  22. zposition   .equ    yposition+2
  23. xsector     .equ    zposition+2
  24. ysector     .equ    xsector+2
  25. zsector     .equ    ysector+2
  26. photons     .equ    zsector+2       ;inventory
  27. torpedo     .equ    photons+1
  28. romtorp     .equ    torpedo+1
  29. crewmems    .equ    romtorp+1
  30. phaserlevel .equ    crewmems+1
  31. Points      .equ    phaserlevel+1
  32. Direction   .equ    Points+2
  33. Speed       .equ    Direction+1
  34. ShieldsUp   .equ    Speed+1
  35. NumPlayers  .equ    ShieldsUp+1
  36. TempStuff   .equ    NumPlayers+1
  37. RecBufSndID .equ    $86F3
  38. RecBufSize  .equ    $86F8
  39. RecBufData  .equ    $86FA
  40. SndBufRecID .equ    $87FA
  41. SndBufSize  .equ    $87FF
  42. SndBufData  .equ    $8801
  43. TempStore   .equ    TempStuff+5
  44. .org $9D93
  45. .db $BB,$6D
  46.  
  47. Init:                   ;this program only runs with DCS7
  48.     xor d               ;or with DCS's homerun feature
  49.     ret
  50.     jr Start
  51.     .dw Description
  52.     .db $07,$00
  53.     .dw Icon
  54.     .dw $0000
  55.  
  56. Start:
  57.     b_call(_ForceFullScreen)    ;forces LCD into FullScreen mode
  58.     b_call(_ClrLCDFull)     ;that can be a pain.
  59.     ld a,4              ;deselect all yvars
  60.     b_call(_AllEq)          ;that also sucks
  61.     ld hl,SplashImage
  62.     ld de,$9340
  63.     ld bc,Description-SplashImage
  64.     ldir
  65.     call iFastCopy          ;draw splash screen
  66. Wait_For_Key:               ;wait for a keypress
  67.     ld a,%00000000
  68.     out ($01),a
  69.     nop
  70.     nop
  71.     in a,($01)
  72.     cp %11111111
  73.     jr nc,Wait_For_Key
  74.    
  75. RenderMain:             ;renders main menu
  76.     call OpenGUIStack
  77.     ld hl,mainWindow
  78.     ld de,mainButtons-mainWindow
  79.     ld a,GUIRLargeWin
  80.     call PushGUIStack
  81.     ld hl,mainButtons
  82.     ld de,optionPlay-mainButtons
  83.     ld a,GUIRWinButtons
  84.     call PushGUIStack
  85.     ld hl,optionPlay
  86.     ld de,optionService-optionPlay
  87.     ld a,GUIRButtonText
  88.     call PushGUIStack  
  89.     ld hl,optionService
  90.     ld de,optionEditInfo-optionService
  91.     ld a,GUIRButtonText
  92.     call PushGUIStack
  93.     ld hl,optionEditInfo
  94.     ld de,optionCredits-optionEditInfo
  95.     ld a,GUIRButtonText
  96.     call PushGUIStack
  97.     ld hl,optionCredits
  98.     ld de,installWin-optionCredits
  99.     ld a,GUIRButtonText
  100.     call PushGUIStack
  101.     ld hl,SaveFile
  102.     rst 20h
  103.     b_call(_ChkFindSym)
  104.     jp c,Install
  105.     ld a,b
  106.     or a
  107.     call nz,ArcUnarc
  108.     ex de,hl
  109.     ld de,ShieldPoints
  110.     ld bc,8
  111.     ldir
  112.     ld de,photons
  113.     ld bc,8
  114.     ldir
  115. LocGen:                 ;randomizes your location  
  116.     ld b,255
  117.     call IRandom
  118.     ld (xposition),a
  119.     ld b,255
  120.     call IRandom
  121.     ld (xposition+1),a
  122.     ld b,255
  123.     call IRandom
  124.     ld (yposition),a
  125.     ld b,255
  126.     call IRandom
  127.     ld (yposition+1),a
  128.     ld b,255
  129.     call IRandom
  130.     ld (zposition),a
  131.     ld b,255
  132.     call IRandom
  133.     ld (zposition+1),a
  134.     ld b,255
  135.     call IRandom
  136.     ld (xsector),a
  137.     ld b,255
  138.     call IRandom
  139.     ld (xsector+1),a
  140.     ld b,255
  141.     call IRandom
  142.     ld (ysector),a
  143.     ld b,255
  144.     call IRandom
  145.     ld (ysector+1),a
  146.     ld b,255
  147.     call IRandom
  148.     ld (zsector),a
  149.     ld b,255
  150.     call IRandom
  151.     ld (zsector+1),a
  152.     ld hl,0
  153.     call GUIMouse
  154.  
  155. Play:                   ;start a game
  156.     call ResetAppPage
  157.     call CloseGUIStack
  158.     ld hl,AppVar2
  159.     rst 20h
  160.     ld hl,25
  161.     b_call(_CreateAppVar)  
  162.     call Cn2_Setup
  163.     call JoinMsg
  164.     call OpenGUIStack
  165.     ld hl,battleNullWin
  166.     ld de,battleImg-battleNullWin
  167.     ld a,GUIRNull
  168.     call PushGUIStack
  169.     ld hl,battleImg
  170.     ld de,creditWindow-battleImg
  171.     ld a,GUIRFullScreenImg
  172.     call PushGUIStack
  173. battleloop:
  174.    
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183. Service:
  184.  
  185.  
  186.    
  187. EditInfo:               ;edit player information
  188.     ld hl,playerInfoWin
  189.     ld de,playerUser-playerInfoWin
  190.     ld a,GUIRSmallWin
  191.     call PushGUIStack
  192.     ld hl,playerUserDisp
  193.     ld de,playerUserIn-playerUserDisp
  194.     ld a,GUIRText
  195.     call PushGUIStack
  196.     ld hl,playerUserIn
  197.     ld de,playerPassDisp-playerUserIn
  198.     ld a,GUIRTextLineIn
  199.     call PushGUIStack
  200.     ld hl,playerPassDisp
  201.     ld de,playerPassIn-playerPassDisp
  202.     ld a,GUIRText
  203.     call PushGUIStack
  204.     ld hl,playerPassIn
  205.     ld de,playerOK-playerPassIn
  206.     ld a,GUIRPassIn
  207.     call PushGUIStack
  208.     ld hl,playerOK
  209.     ld de,battleNullWin-playerOK
  210.     ld a,GUIRButtonText
  211.     call PushGUIStack
  212.     ld hl,0
  213.     call GUIMouse
  214. ReturnEdit:
  215.     call ResetAppPage
  216.     call CloseGUIStack
  217.     jp RenderMain
  218.  
  219. Credits:                ;display credit screen
  220.     call ResetAppPage
  221.     ld hl,creditWindow
  222.     ld de,creditButtons-creditWindow
  223.     ld a,GUIRSmallWin
  224.     call PushGUIStack
  225.     ld hl,creditButtons
  226.     ld de,creditP1Ln1
  227.     ld a,GUIRWinButtons
  228.     call PushGUIStack
  229.     jr CreditsPage1
  230. CreditsPage2to1:
  231.     call ResetAppPage
  232.     ld b,6
  233.     call PopGUIStacks
  234. CreditsPage1:
  235.     ld hl,creditP1Ln1
  236.     ld de,creditP1Ln2-creditP1Ln1
  237.     ld a,GUIRText
  238.     call PushGUIStack
  239.     ld hl,creditP1Ln2
  240.     ld de,creditP1Ln3-creditP1Ln2
  241.     ld a,GUIRText
  242.     call PushGUIStack
  243.     ld hl,creditP1Ln3
  244.     ld de,creditP1Ln4-creditP1Ln3
  245.     ld a,GUIRText
  246.     call PushGUIStack
  247.     ld hl,creditP1Ln4
  248.     ld de,creditP1Ln5-creditP1Ln4
  249.     ld a,GUIRText
  250.     call PushGUIStack
  251.     ld hl,creditP1Ln5
  252.     ld hl,creditNextPage-creditP1Ln5
  253.     ld a,GUIRText
  254.     call PushGUIStack
  255.     ld hl,creditNextPage
  256.     ld de,creditP2Ln1-creditNextPage
  257.     ld a,GUIRButtonText
  258.     call PushGUIStack
  259.     ld hl,0
  260.     call GUIMouse
  261. CreditsPage1to2:
  262.     call ResetAppPage
  263.     ld b,6
  264.     call PopGUIStacks
  265.     jr CreditsPage2
  266. CreditsPage3to2:
  267.     call ResetAppPage
  268.     ld b,6
  269.     call PopGUIStacks
  270. CreditsPage2:
  271.     ld hl,creditP2Ln1
  272.     ld de,creditP2Ln2-creditP2Ln1
  273.     ld a,GUIRText
  274.     call PushGUIStack
  275.     ld hl,creditP2Ln2
  276.     ld de,creditP2Ln3-creditP2Ln2
  277.     ld a,GUIRText
  278.     call PushGUIStack
  279.     ld hl,creditP2Ln3
  280.     ld de,creditP2Ln4-creditP2Ln3
  281.     ld a,GUIRText
  282.     call PushGUIStack
  283.     ld hl,creditP2Ln4
  284.     ld de,creditNextPage2-creditP2Ln4
  285.     ld a,GUIRText
  286.     call PushGUIStack
  287.     ld hl,creditNextPage2
  288.     ld de,creditBack-creditNextPage2
  289.     ld a,GUIRButtonText
  290.     call PushGUIStack
  291.     ld hl,creditBack
  292.     ld de,creditP3Ln1-creditBack
  293.     ld a,GUIRButtonText
  294.     call GUIRButtonText
  295.     ld hl,0
  296.     call GUIMouse
  297. CreditsPage2to3:
  298.     call ResetAppPage
  299.     ld b,6
  300.     call PopGUIStacks
  301. CreditsPage3:
  302.     ld hl,creditP3Ln1
  303.     ld de,creditP3Ln2-creditP3Ln1
  304.     ld a,GUIRText
  305.     call PushGUIStack
  306.     ld hl,creditP3Ln2
  307.     ld de,creditP3Ln3-creditP3Ln2
  308.     ld a,GUIRText
  309.     call PushGUIStack
  310.     ld hl,creditP3Ln3
  311.     ld de,creditP3Ln4-creditP3Ln3
  312.     ld a,GUIRText
  313.     call PushGUIStack
  314.     ld hl,creditP3Ln4
  315.     ld de,creditP3Ln5-creditP3Ln4
  316.     ld a,GUIRText
  317.     call PushGUIStack
  318.     ld hl,creditP3Ln5
  319.     ld de,creditBack2-creditP3Ln5
  320.     ld a,GUIRText
  321.     call PushGUIStack
  322.     ld hl,creditBack2
  323.     ld de,creditEnd-creditBack2
  324.     ld a,GUIRButtonText
  325.     call PushGUIStack
  326.     ld hl,0
  327.     call GUIMouse
  328. ReturnCredits:
  329.     call ResetAppPage
  330.     call CloseGUIStack
  331.     jp RenderMain
  332.  
  333. Quit:                   ;quits the game
  334.     call ResetAppPage
  335.     call CloseGUIStack
  336.     b_call(_ClrLCDFull)
  337.     ld hl,SaveFile
  338.     rst 20h
  339.     b_call(_ChkFindSym)
  340.     ld a,b
  341.     or a
  342.     call nz,ArcUnarc
  343.     ld hl,ShieldPoints
  344.     ld bc,8
  345.     ldir
  346.     ld hl,photons
  347.     ld bc,8
  348.     ldir
  349.     ld hl,SaveFile
  350.     rst 20h
  351.     b_call(_ChkFindSym)
  352.     call ArcUnarc
  353.     ret
  354.  
  355. JoinMsg:                ;prepares a join message
  356.     hl hl,setbroadcast
  357.     ld de,SndBufRecID
  358.     ld bc,4
  359.     ldir
  360.     ld a,$09
  361.     ld (SndBufSize),a
  362.     ld a,$01
  363.     ld (SndBufData),a
  364.     ld de,SndBufData+1
  365.     ld hl,playerPassDisp-8
  366.     ld bc,7
  367.     ldir
  368.     call SettoXmit
  369.     ld a,4
  370. haltloop:
  371.     dec a
  372.     jr nz,haltloop
  373.     call Cn2_ClearSendBuf
  374.     ret
  375.  
  376. QuitMsg:                ;prepares a quit message
  377.     ld hl,setbroadcast
  378.     ld de,SndBufRecID
  379.     ld bc,4
  380.     ldir
  381.     ld a,$01
  382.     ld (SndBufSize),a
  383.     ld a,$02
  384.     ld (SndBufData),a
  385.     call SettoXmit
  386.     ld a,4
  387. halt2loop:
  388.     dec a
  389.     jr nz,halt2loop
  390.     call Cn2_ClearSendBuf
  391.     ret
  392.  
  393. PositionMsg:                ;prepares a coordinate message
  394.     ld hl,setbroadcast
  395.     ld de,SndBufRecID
  396.     ld bc,4
  397.     ldir
  398.     ld a,$0D
  399.     ld (SndBufSize),a
  400.     ld de,SndBufData
  401.     ld a,$03
  402.     ld (de),a
  403.     inc de
  404.     ld hl,xposition
  405.     ld bc,11
  406.     ldir
  407.     call SettoXmit
  408.     ret
  409.  
  410. AttackMsg:
  411.     call CoordsToID
  412.  
  413.     ret
  414.  
  415.  
  416. TextMsg:
  417.     call UsernameToID
  418.  
  419.     ret
  420.  
  421. UsernameToID:                   ;searches for PTP CalcID
  422.  
  423.     ret
  424.  
  425. CoordsToID:
  426.  
  427.     ret
  428.  
  429. SettoXmit:              ;sets the MSB of the high byte
  430.     ld a,%10000000          ;marks frame as pending
  431.     ld (SndBufSize+1),a
  432.     ret
  433.  
  434. GetData:                ;quick-check of receive buffer
  435.     ld a,(RecBufSize+1)    
  436.     and $80
  437.     ret z               ;returns if no data
  438.     ld a,(RecBufData)
  439.     and $01
  440.     jr nz,RecJoin
  441.     and $02
  442.     jr nz,RecQuit
  443.     and $03
  444.     jr nz,RecPositionUpdate
  445.     and $04
  446.     jr nz,RecAtack
  447.     and $05
  448.     jr nz,RecText
  449.  
  450. RecJoin:
  451.     ld de,TempStore
  452.     ld hl,RecBufSndID
  453.     ld bc,4
  454.     ldir
  455.     ld de,TempStore+5
  456.     ld hl,RecBufData+1
  457.     ld bc,7
  458.     ldir
  459.     call SettoReceive
  460.     ld hl,AppVar2
  461.     rst 20h
  462.     b_call(_ChkFindSym)
  463.     ld hl,TempStore
  464.     ld bc,12
  465.     ldir
  466.     ld hl,TempStore
  467.     ld de,SndBufRecID
  468.     ld bc,4
  469.     ldir
  470.     ld hl,PlayerPassDisp-8
  471.     ld de,SndBufData+1
  472.     ld bc,7
  473.     ldir
  474.     ld a,$09
  475.     ld (SndBufSize),a
  476.     ld a,$01
  477.     ld (SndBufData),a
  478.     call SettoXmit
  479.     ret
  480.  
  481. RecQuit:
  482.  
  483.  
  484. RecPositionUpdate:
  485.  
  486.  
  487. RecAttack:
  488.  
  489.  
  490. RecText:
  491.  
  492.  
  493.  
  494. SettoReceive:
  495.     call Cn2_ClearRecBuf
  496.     ret
  497.  
  498. ArcUnarc:
  499.     b_call(_Arc_Unarc)
  500.     ld hl,SaveFile
  501.     rst 20h
  502.     b_call(_ChkFindSym)
  503.     ret
  504.  
  505. Install:                ;if no save, initialize variables
  506.     ld a,100
  507.     ld (ShieldPoints),a
  508.     ld a,100
  509.     ld (WarpPoints),a
  510.     ld a,100
  511.     ld (ImpulsePoints),a
  512.     ld a,100
  513.     ld (RepairPoints),a
  514.     ld a,100
  515.     ld (PhaserPoints),a
  516.     ld a,100
  517.     ld (PhotonPoints),a
  518.     ld a,100
  519.     ld (TransPoints),a
  520.     ld a,100
  521.     ld (GenPoints),a
  522.     ld a,100
  523.     ld (LifeSupPoints),a
  524.     ld a,20
  525.     ld (photons),a
  526.     ld a,10
  527.     ld (torpedo),a
  528.     ld a,0
  529.     ld (romtorp),a
  530.     ld a,200
  531.     ld (crewmems),a
  532.     ld a,1
  533.     ld (phaserlevel),a
  534.     ld hl,0
  535.     ld (Points),hl
  536.     ld a,0
  537.     ld (Direction),a
  538.     ld a,1
  539.     ld (Speed),a
  540.     ld hl,installWin
  541.     ld de,installText-installWin
  542.     ld a,GUIRSmallWin
  543.     call PushGUIStack
  544.     ld hl,installText
  545.     ld de,installEnd-installText
  546.     ld a,GUIRWrappedText
  547.     call PushGUIStack
  548.     ld hl,installEnd
  549.     ld de,okEnd-installEnd
  550.     ld a,GUIRWinButtons
  551.     call PushGUIStack
  552.     ld hl,0
  553.     call GUIMouse
  554. ReturnInstall:
  555.     call ResetAppPage
  556.     ld hl,SaveFile
  557.     rst 20h
  558.     ld hl,16
  559.     b_call(_CreateAppVar)
  560.     ld b,3
  561.     call PopGUIStacks
  562.     jp LocGen
  563.  
  564.  
  565. setbroadcast
  566. .db $00,$00,$00,$00,$00
  567.  
  568. SaveFile:
  569. .db AppVarObj,"STSave",0
  570.  
  571. AppVar2:
  572. .db AppVarObj,"STtemp",0
  573.  
  574. SplashImage:
  575.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  576.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  577.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  578.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%00111111,%11111111,%11111111
  579.     .db %11111111,%11111111,%11100000,%11100111,%11111111,%11111111,%11000000,%00111111,%11111111,%00111111,%11111111,%11111111
  580.     .db %11111111,%11111111,%11000000,%11100111,%11111111,%11111111,%11000000,%01111111,%11111111,%00111111,%11111111,%11111111
  581.     .db %11111111,%11111111,%10011111,%11000001,%10000111,%10000111,%11110001,%11000011,%10000111,%00110011,%11111111,%11111111
  582.     .db %11111111,%11111111,%10000111,%11000011,%10000011,%00000111,%11110011,%10000010,%00000110,%01000111,%11111111,%11111111
  583.     .db %11111111,%11111111,%11000001,%11001111,%11000011,%00011111,%11110011,%10001110,%00000010,%00001111,%11111111,%11111111
  584.     .db %11111111,%11111111,%11110001,%11001111,%00000011,%00111111,%11110011,%10011110,%00000010,%00011111,%11111111,%11111111
  585.     .db %11111110,%01111111,%11111001,%11001110,%00110011,%00111111,%11110011,%10011100,%01111110,%00001111,%11111111,%11111111
  586.     .db %11111110,%01111111,%00000001,%11000010,%00000011,%00111111,%11100011,%10011110,%00000110,%01001111,%11111111,%11111111
  587.     .db %11111111,%11111111,%10000011,%11000011,%00000010,%00111111,%11100111,%00011111,%00001100,%01100111,%11111111,%11111111
  588.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  589.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  590.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  591.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  592.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  593.     .db %11111111,%11111111,%11111111,%11111111,%11000111,%10001111,%11000000,%11111111,%11111111,%11111111,%11111111,%11111111
  594.     .db %11111111,%11111111,%11111111,%11111111,%11000111,%00011111,%11000000,%11111111,%11111111,%11111111,%11111111,%11111111
  595.     .db %11111111,%11111111,%11111111,%11111111,%10000110,%00011111,%10001100,%01111111,%11111111,%11111111,%11111111,%11111111
  596.     .db %11111111,%11111111,%11111111,%11111111,%10000010,%00011111,%10001100,%11111111,%11111111,%11111111,%11111111,%11111111
  597.     .db %11111111,%11111111,%11111111,%11111111,%10010000,%10011111,%10000000,%11111111,%11111111,%11111111,%11111111,%11111111
  598.     .db %11111111,%11111111,%11111111,%11111111,%10010001,%00011111,%10000011,%11111111,%11111111,%11111111,%11111111,%11111111
  599.     .db %11111111,%11111111,%11111111,%11111111,%10011001,%00111111,%10011111,%11111111,%11111111,%11111111,%11111111,%11111111
  600.     .db %11111111,%11111111,%11111111,%11111111,%10011111,%00111111,%10011111,%11111111,%11111111,%11111111,%11111111,%11111111
  601.     .db %11111111,%11111111,%11111111,%11111111,%00111111,%00111111,%00011111,%11111111,%11111111,%11111111,%11111111,%11111111
  602.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  603.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  604.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  605.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  606.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  607.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%00111111,%11111111
  608.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%00111111,%11111111
  609.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  610.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  611.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  612.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  613.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  614.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  615.     .db %11111111,%11111111,%11110111,%11111111,%10011100,%01111111,%11110110,%11111111,%11111111,%11111111,%11111111,%11111111
  616.     .db %11111111,%11111111,%11110001,%10100111,%10011011,%11100010,%00010110,%10001100,%01100011,%11111111,%11111111,%11111111
  617.     .db %11111111,%11111111,%11110100,%10101111,%01010011,%11100000,%10110110,%10001101,%00001001,%11111111,%11111111,%11111111
  618.     .db %11111111,%11111111,%11110100,%10011110,%00000011,%11011000,%10110100,%01101001,%01001011,%11111111,%11111111,%11111111
  619.     .db %11111111,%11111111,%11100001,%10011110,%11101000,%11000010,%00100100,%00001001,%01100011,%11111111,%11111111,%11111111
  620.     .db %11111111,%11111111,%11111111,%00111111,%11111111,%11111100,%01111111,%11111111,%11111111,%11111111,%11111111,%11111111
  621.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  622.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  623.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  624.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  625.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  626.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  627.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  628.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  629.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111100,%11111111,%11111111,%11111111
  630.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111100,%11111111,%11111111,%11111111
  631.     .db %11101101,%11111111,%11011111,%11111110,%01111000,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  632.     .db %11101011,%00010010,%00010001,%00011111,%01110010,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  633.     .db %11100110,%00010110,%00001101,%01011111,%01110110,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  634.     .db %11100111,%00101100,%00110010,%11011110,%01111001,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  635.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  636.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  637.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  638.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  639.  
  640. Description:
  641. .db "Star Trek MP v1"
  642.  
  643. Icon:
  644. .db %00010000,%00000000
  645. .db %01111100,%00000011
  646. .db %01111111,%11111111
  647. .db %11111111,%11111111
  648. .db %11111101,%11111111
  649. .db %11111000,%10011100
  650. .db %11111100,%00011100
  651. .db %01111110,%00011100
  652. .db %00011111,%00011110
  653. .db %00001111,%10011110
  654. .db %00000111,%10011110
  655. .db %00011111,%10001110
  656. .db %00111111,%00001110
  657. .db %00111111,%00001100
  658. .db %00111000,%00000000
  659. .db %00000000,%00000000
  660.  
  661. mainWindow:
  662. .db 0,0,0,0,0
  663. .db "Star Trek MP v1.0",0
  664. mainButtons:
  665. .db %00100000
  666. .dw $0000
  667. .dw $0000
  668. .dw Quit
  669. optionPlay:
  670. .db 5
  671. .db 5
  672. .dw Play
  673. .db " Play Game ",0
  674. optionService:
  675. .db 5
  676. .db 15
  677. .dw Service
  678. .db "Service Ship",0
  679. optionEditInfo:
  680. .db 5
  681. .db 25
  682. .dw EditInfo
  683. .db "User Settings",0
  684. optionCredits
  685. .db 5
  686. .db 35
  687. .dw Credits
  688. .db "   About   ",0
  689. installWin:
  690. .db 7
  691. .db 7
  692. .db 0,0,0,0,0
  693. .db "Installer",0
  694. installText:
  695. .db 9
  696. .db 9
  697. .db 65
  698. .db 0
  699. .db "Install complete.",0
  700. installEnd:
  701. .db %00100000
  702. .dw $0000
  703. .dw $0000
  704. .dw ReturnInstall
  705. okEnd:
  706. playerInfoWin:
  707. .db 5
  708. .db 5
  709. .db 0,0,0,0,0
  710. .db "Settings",0
  711. playerUserDisp:
  712. .db 7
  713. .db 7
  714. .db 0
  715. .db "UserName:",0
  716. playerUserIn:
  717. .db 7
  718. .db 13
  719. .db 50
  720. .dw $0008
  721. .dw 0
  722. .db 0,0,0,0,0,0,0,0
  723. playerPassDisp:
  724. .db 7
  725. .db 21
  726. .db 0
  727. .db "Password:",0
  728. playerPassIn:
  729. .db 7
  730. .db 27
  731. .db 50
  732. .dw $0010
  733. .dw 0
  734. .db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  735. playerOK:
  736. .db 10
  737. .db 35
  738. .dw ReturnEdit
  739. .db "Accept",0
  740. battleNullWin:
  741. .db $FE
  742. battleImg:
  743. .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  744.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  745.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  746.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  747.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  748.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  749.     .db %11111111,%01111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  750.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111011,%11111111,%11111111,%11111111,%11111111
  751.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%10111111,%11111111,%11111111
  752.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11011111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  753.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111011
  754.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  755.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  756.     .db %11111111,%11111111,%11111111,%01111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  757.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  758.     .db %11111101,%11111111,%10111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  759.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111110,%11111111,%11111111,%11111111,%11111111,%11111111
  760.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  761.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  762.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  763.     .db %01111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111110,%11111111,%11111111,%11111111
  764.     .db %00111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%10111111,%11111110
  765.     .db %00011111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111100
  766.     .db %00011111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111100
  767.     .db %00001111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111000
  768.     .db %00000111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11110000
  769.     .db %00000011,%11111111,%11011111,%11111111,%11110111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11100000
  770.     .db %00000011,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11011111,%11111111,%11111111,%11100000
  771.     .db %00000001,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11000000
  772.     .db %00000000,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%10000000
  773.     .db %00000000,%11111111,%11111111,%11111111,%11111111,%11111111,%10111111,%11111111,%11111111,%11111111,%11111111,%00000000
  774.     .db %00000000,%01111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%00000000
  775.     .db %00000000,%00111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111110,%00000000
  776.     .db %00000000,%00011111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111100,%00000000
  777.     .db %00000000,%00011111,%11111101,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111000,%00000000
  778.     .db %00000000,%00001111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111000,%00000000
  779.     .db %00000000,%00000111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11101111,%11110000,%00000000
  780.     .db %00000000,%00000011,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11100000,%00000000
  781.     .db %00000000,%00000011,%11111111,%11111111,%11111111,%11111111,%11111111,%11111110,%11111111,%11111111,%11000000,%00000000
  782.     .db %00000000,%00000001,%11111111,%11111111,%11111101,%11111111,%11111111,%11111111,%11111111,%11111111,%10000000,%00000000
  783.     .db %00000000,%00000000,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%10000000,%00000000
  784.     .db %00000000,%00000000,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%00000000,%00000000
  785.     .db %00000000,%00000000,%01111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111110,%00000000,%00000000
  786.     .db %00000000,%00000000,%00111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111100,%00000000,%00000000
  787.     .db %11111111,%11111111,%11011111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111110
  788.     .db %00000000,%00000000,%00011111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11110000,%00000000,%00000000
  789.     .db %00000000,%00000000,%00001111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11100000,%00000000,%00000000
  790.     .db %00000000,%00000000,%00001111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11100000,%00000000,%00000000
  791.     .db %00000000,%00000000,%00000111,%11111111,%11111111,%11111111,%11111110,%11111111,%11111111,%11000000,%00000000,%00000000
  792.     .db %00000000,%00000000,%00000011,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%10000000,%00000000,%00000000
  793.     .db %00000000,%00000000,%00000011,%11111111,%11111110,%11111111,%11111111,%11111111,%11111111,%00000000,%00000000,%00000000
  794.     .db %00000000,%00000000,%00000001,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%00000000,%00000000,%00000000
  795.     .db %00000000,%00000000,%00000001,%11111111,%11111111,%11111111,%11111111,%11111111,%11111110,%00000000,%00000000,%00000000
  796.     .db %00000000,%00000000,%00000000,%11111111,%11111111,%11111111,%11111111,%11111111,%11111100,%00000000,%00000000,%00000000
  797.     .db %11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111
  798.     .db %00000000,%00000000,%00001000,%00000000,%00000000,%01000000,%00000000,%00010000,%00000000,%00000100,%00000000,%00000000
  799.     .db %00000000,%00000000,%00001000,%00000000,%00000000,%01000000,%00000000,%00010000,%00000000,%00000100,%00000000,%00000000
  800.     .db %01111101,%00111011,%11101011,%10011111,%00111000,%01011100,%10010111,%00010111,%01110101,%01110101,%01001110,%11110000
  801.     .db %00010001,%10100000,%10001010,%00000100,%00100000,%01010000,%11010100,%00010010,%01010111,%01000101,%11001000,%10000000
  802.     .db %00010001,%10100000,%10001011,%10000100,%00111000,%01011100,%10110111,%00010010,%01110111,%01110101,%11001110,%10111000
  803.     .db %00010011,%11100000,%10001000,%10000100,%00001000,%01000100,%10110001,%00010010,%01100101,%00010101,%01000010,%10010000
  804.     .db %00010010,%01111000,%10001011,%10000100,%00111000,%01011100,%10010111,%00010010,%01010101,%01110101,%01001110,%11110000
  805.     .db %00000000,%00000000,%00001000,%00000000,%00000000,%01000000,%00000000,%00010000,%00000000,%00000100,%00000000,%00000000
  806.     .db %00000000,%00000000,%00001000,%00000000,%00000000,%01000000,%00000000,%00010000,%00000000,%00000100,%00000000,%00000000
  807.  
  808. creditWindow:
  809. .db 1
  810. .db 1
  811. .db 0,0,0,0,0
  812. .db "About",0
  813. creditButtons
  814. .db %00100000
  815. .dw $0000
  816. .dw $0000
  817. .dw ReturnCredits
  818. creditP1Ln1:
  819. .db 1
  820. .db 1
  821. .db 0
  822. .db "Star Trek MP v1.0",0
  823. creditP1Ln2:
  824. .db 1
  825. .db 7
  826. .db 0
  827. .db "by ACagliano, 2011",0
  828. creditP1Ln3:
  829. .db 1
  830. .db 13
  831. .db 0
  832. .db "A multiplayer space",0
  833. creditP1Ln4
  834. .db 1
  835. .db 19
  836. .db 0
  837. .db "shooter. Powered by"
  838. creditP1Ln5:
  839. .db 1
  840. .db 25
  841. .db 0
  842. .db "CALCnet 2.2, by"
  843. creditNextPage:
  844. .db 60
  845. .db 32
  846. .dw CreditsPage1to2
  847. .db "Next",0
  848. creditP2Ln1:
  849. .db 1
  850. .db 1
  851. .db 0
  852. .db "Kerm Martian. Other",0
  853. creditP2Ln2:
  854. .db 1
  855. .db 7
  856. .db 0
  857. .db "graphics powered by",0
  858. creditP2Ln3:
  859. .db 1
  860. .db 13
  861. .db 0
  862. .db "DoorsCS 7.1, also",0
  863. creditP2Ln4:
  864. .db 1
  865. .db 19
  866. .db 0
  867. .db "by Kerm Martian.",0
  868. creditNextPage2:
  869. .db 60
  870. .db 32
  871. .dw CreditsPage2to3
  872. db "Controls"
  873. creditBack:
  874. .db 5
  875. .db 32
  876. .dw CreditsPage2to1
  877. .db "Back",0
  878. creditP3Ln1:
  879. .db 1
  880. .db 1
  881. .db 0
  882. .db "[y=]-[trace]: sys",0
  883. creditP3Ln2:
  884. .db 1
  885. .db 7
  886. .db 0
  887. .db "[graph]: chat",0
  888. creditP3Ln3:
  889. .db 1
  890. .db 13
  891. .db 0
  892. .db "[2nd]: phasers",0
  893. creditP3Ln4
  894. .db 1
  895. .db 19
  896. .db 0
  897. .db "[Alph/Math]:photon",0
  898. creditP3Ln5:
  899. .db 1
  900. .db 25
  901. .db 0
  902. .db "[Clr]:disconnect",0
  903. creditBack2:
  904. .db 5
  905. .db 32
  906. .dw CreditsPage3to2
  907. .db "Back",0
  908. creditEnd:
  909.  
  910. .end
  911. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement