Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 26th, 2012  |  syntax: None  |  size: 1.85 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Obj15_Swing_Platform: ; Offset_0x0085F8:
  2.         btst    #6,render_flags(a0)
  3.         bne     Offset_0x008610
  4.         moveq   #0,d0
  5.         move.b  routine(a0),d0
  6.         move.w  Obj15_States(pc,d0), d1
  7.         jmp     Obj15_States(pc,d1)
  8. Offset_0x008610:
  9.         move.w  #$200, d0
  10.         bra     DisplaySprite_Param     ; Offset_0x00D3FE
  11. ; ===========================================================================          
  12. Obj15_States:
  13.         dc.w    Obj15_Init-Obj15_States
  14.         dc.w    Obj15_State2-Obj15_States
  15.         dc.w    Obj15_Display-Obj15_States
  16.         dc.w    Obj15_State4-Obj15_States
  17.         dc.w    Obj15_State5-Obj15_States
  18.         dc.w    Obj15_State6-Obj15_States
  19.         dc.w    Obj15_State7-Obj15_States
  20. ; ===========================================================================          
  21. Obj15_Init:
  22.         addq.b  #2,routine(a0)
  23.         move.l  #Swing_Platforms_Mappings,mappings(a0) ; Offset_0x008AD8
  24.         move.w  #$43E3,art_tile(a0) ; standard plc load address
  25.         move.b  #4,render_flags(a0)
  26.         move.b  #3,priority(a0)
  27.         move.b  #$20,width_pixels(a0)
  28.         move.b  #$10, y_radius(A0)
  29.         move.w  y_pos(a0), objoff_38(A0)
  30.         move.w  x_pos(a0), objoff_3A(A0)
  31.         cmpi.b  #$B, (Current_ZoneAndAct).w ; is level Mystic Cave Zone?
  32.         bne.s   Obj15_NGHZ ; if not, move on to Aquatic Ruins loading
  33.         move.l  #DhzPlatformsMappings,mappings(a0) ; Offset_0x008B46
  34.         move.w  #0,art_tile(a0)    ; MCZ plc load address          
  35.         move.b  #$18,width_pixels(a0)
  36.         move.b  #8, y_radius(A0)
  37. Obj15_NGHZ:
  38.         cmpi.b  #$F, (Current_ZoneAndAct).w ;is Level Aquatic Ruin?
  39.         bne.s   Obj15_NGHZArtLoad
  40.         move.l  #Nghz_Swing_Platforms_Mappings,mappings(a0) ; Offset_0x008B0E
  41.         move.w  #0,art_tile(a0)
  42.         move.b  #$20,width_pixels(a0)
  43.         move.b  #8, y_radius(A0)