Advertisement
Nightseeker

Shining Force II us eu VC patch

Mar 12th, 2020
1,166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # all
  2. >0x120  string      "SHINING FORCE 2 "
  3.  
  4. #
  5. # 魔法光過敏修正
  6. #
  7. 0x01a2a6:
  8.     beshort     0x4ef9,0x001f,0xff80        # jmp $1fff80            
  9.     beshort     0x4e71              # nop
  10.  
  11. 0x1fff80:
  12.     beshort     0x3c00      # move.w    d0,d6          
  13.     beshort     0x48e7,0x0780   # movem.l   d5-d7/a0,-(a7)     
  14.     beshort     0x41f8,0xd000   # lea.l $d000.w,a0     
  15.     beshort     0x3e06      # move.w    d6,d7          
  16.     beshort     0xe44f      # lsr.w #2,d7          
  17.     beshort     0x0247,0x0333   # andi.w    #$0333,d7      
  18.     beshort     0x6154      # bsr.s 0x1fffe8           
  19.     beshort     0x3e06      # move.w    d6,d7          
  20.     beshort     0xe24f      # lsr.w #1,d7          
  21.     beshort     0x0247,0x0777   # andi.w    #$0777,d7      
  22.     beshort     0x614a      # bsr.s 0x1fffe8           
  23.     beshort     0x3e06      # move.w    d6,d7          
  24.     beshort     0xe24f      # lsr.w #1,d7          
  25.     beshort     0x0247,0x0777   # andi.w    #$0777,d7      
  26.     beshort     0x2a07      # move.l    d7,d5          
  27.     beshort     0xe24d      # lsr.w #1,d5          
  28.     beshort     0x0245,0x0333   # andi.w    #$0333,d5      
  29.     beshort     0xde85      # add.l d5,d7          
  30.     beshort     0x6136      # bsr.s 0x1fffe8           
  31.     beshort     0x2e06      # move.l    d6,d7          
  32.     beshort     0x6132      # bsr.s 0x1fffe8           
  33.     beshort     0x3e06      # move.w    d6,d7          
  34.     beshort     0xe24f      # lsr.w #1,d7          
  35.     beshort     0x0247,0x0777   # andi.w    #$0777,d7      
  36.     beshort     0x2a07      # move.l    d7,d5          
  37.     beshort     0xe24d      # lsr.w #1,d5          
  38.     beshort     0x0245,0x0333   # andi.w    #$0333,d5      
  39.     beshort     0xde85      # add.l d5,d7          
  40.     beshort     0x611e      # bsr.s 0x1fffe8           
  41.     beshort     0x3e06      # move.w    d6,d7          
  42.     beshort     0xe24f      # lsr.w #1,d7          
  43.     beshort     0x0247,0x0777   # andi.w    #$0777,d7      
  44.     beshort     0x6114      # bsr.s 0x1fffe8           
  45.     beshort     0x3e06      # move.w    d6,d7          
  46.     beshort     0xe44f      # lsr.w #2,d7          
  47.     beshort     0x0247,0x0333   # andi.w    #$0333,d7      
  48.     beshort     0x610a      # bsr.s 0x1fffe8           
  49.     beshort     0x7e00      # moveq.l   #$00,d7        
  50.     beshort     0x6106      # bsr.s 0x1fffe8           
  51.     beshort     0x4cdf,0x01e0   # movem.l   (a7)+,d5-d7/a0     
  52.     beshort     0x4e75      # rts              
  53.  
  54. 0x1fffe8:
  55.     beshort     0x3087      # move.w    d7,(a0)        
  56.     beshort     0x3147,0x0044   # move.w    d7,$0044(a0)       
  57.  
  58. #
  59. # 落雷光過敏修正
  60. # 背景パレットのRGB値にこのテーブル値を加算します
  61. # jp
  62. >>0x180 string      "GM G-5521   00"
  63. 0x000b2a:
  64.     byte        0x03,0x03,0x02,0x02,0x01,0x01,0x00,0x80     # 落雷から元の明るさへ戻る
  65. 0x000b32:
  66.     byte        0x01,0x01,0x02,0x02,0x03,0x03,0x04,0x80     # 落雷で一気に明るくなる
  67. 0x000b4a:
  68.     byte        0x02,0x02,0x02,0x02,0x01,0x01,0xfe,0xfe     # 小刻みに点滅
  69. 0x000b6a:
  70. #   byte        0x06,0xfe,0x06,0xfe,0x06,0xfe,0x80,0x00     # 小刻みに点滅、暗いまま持続(オリジナル)
  71. #   byte        0x01,0x01,0x00,0x00,0xff,0xff,0xfe,0x80     # 小刻みに点滅、暗いまま持続(2008/05/01)
  72.     byte        0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0x80     # 小刻みに点滅、暗いまま持続(2008/05/08)
  73.  
  74. # 魔法光過敏修正のつづき
  75. 0x1fffee:
  76.     beshort     0x4eb8,0x0c7c   # jsr       $0c7c.w        
  77.     beshort     0x7004      # moveq.l   #$04,d0        
  78.     beshort     0x4ef8,0x0f00   # jmp       $0f00.w        
  79.  
  80.  
  81. # us & eu
  82. >>0x180 string      "GM MK-1315 -00"
  83. 0x000b2e:
  84.     byte        0x03,0x03,0x02,0x02,0x01,0x01,0x00,0x80     # 落雷から元の明るさへ戻る
  85. 0x000b36:
  86.     byte        0x01,0x01,0x02,0x02,0x03,0x03,0x04,0x80     # 落雷で一気に明るくなる
  87. 0x000b4e:
  88.     byte        0x02,0x02,0x02,0x02,0x01,0x01,0xfe,0xfe     # 小刻みに点滅
  89. 0x000b6e:
  90.     byte        0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0x80     # 小刻みに点滅、暗いまま持続
  91.  
  92. # 魔法光過敏修正のつづき
  93. 0x1fffee:
  94.     beshort     0x4eb8,0x0c80   # jsr       $0c80.w        
  95.     beshort     0x7004      # moveq.l   #$04,d0        
  96.     beshort     0x4ef8,0x0f04   # jmp       $0f04.w        
  97.  
  98.  
  99. #
  100. # euのみのハングパッチ
  101. #
  102. # eu
  103. >>>0x1f0    string  "E"
  104. 0x044c3e:
  105.     beshort     0x4868,0x0014           # pea     $0014(a0)
  106. 0x044c4e:
  107.     beshort     0x205f              # movea.l (sp)+,a0
  108.     beshort     0x2089              # move.l  a1,(a0)
  109.     beshort     0x4eb9,0x000f,0xfc80        # jsr     $0ffc80.l
  110. 0x0ffc80:
  111.     beshort     0x06b8,0x0000,0x002a,0xb1a0 # addi.l  #$0000002a,$ffffb1a0.w
  112.     beshort     0x4e75              # rts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement