mirror of https://github.com/nmlgc/ReC98.git
[Reverse-engineering] [th04/th05] Boss phase end HP
Funded by -Tom-.
This commit is contained in:
parent
49a67a1a8b
commit
e855e1a908
|
@ -23005,7 +23005,7 @@ loc_166A0:
|
|||
mov byte_2671F, 0
|
||||
mov byte_2671D, 0
|
||||
mov _boss_hp, 9000
|
||||
mov word_26720, 1EDCh
|
||||
mov _boss_phase_end_hp, 7900
|
||||
mov word_2671A, 0
|
||||
sub word ptr dword_2670A+2, 100h
|
||||
jmp loc_169B8
|
||||
|
@ -23077,9 +23077,9 @@ loc_1674E:
|
|||
push 0
|
||||
call sub_15C7C
|
||||
inc byte_26719
|
||||
mov ax, word_26720
|
||||
mov ax, _boss_phase_end_hp
|
||||
mov _boss_hp, ax
|
||||
sub word_26720, 320h
|
||||
sub _boss_phase_end_hp, 800
|
||||
jmp loc_169B8
|
||||
; ---------------------------------------------------------------------------
|
||||
|
||||
|
@ -23124,16 +23124,16 @@ loc_167BB:
|
|||
mov word_2671A, 0
|
||||
mov byte_2671F, 0
|
||||
mov byte_2671D, 0
|
||||
mov ax, word_26720
|
||||
mov ax, _boss_phase_end_hp
|
||||
mov _boss_hp, ax
|
||||
cmp byte_26719, 0Ah
|
||||
jnb short loc_167EA
|
||||
sub word_26720, 44Ch
|
||||
sub _boss_phase_end_hp, 1100
|
||||
jmp loc_169B8
|
||||
; ---------------------------------------------------------------------------
|
||||
|
||||
loc_167EA:
|
||||
sub word_26720, 4B0h
|
||||
sub _boss_phase_end_hp, 1200
|
||||
jmp loc_169B8
|
||||
; ---------------------------------------------------------------------------
|
||||
|
||||
|
@ -23203,7 +23203,7 @@ loc_16869:
|
|||
push 0
|
||||
call sub_15C7C
|
||||
inc byte_26719
|
||||
mov ax, word_26720
|
||||
mov ax, _boss_phase_end_hp
|
||||
mov _boss_hp, ax
|
||||
jmp loc_169B8
|
||||
; ---------------------------------------------------------------------------
|
||||
|
@ -23239,11 +23239,11 @@ loc_168A8:
|
|||
|
||||
loc_168C9:
|
||||
inc byte_26719
|
||||
mov ax, word_26720
|
||||
mov ax, _boss_phase_end_hp
|
||||
mov _boss_hp, ax
|
||||
cmp byte_26719, 11h
|
||||
jnz short loc_168F6
|
||||
mov word_26720, 0
|
||||
mov _boss_phase_end_hp, 0
|
||||
mov Palettes, 80h
|
||||
mov Palettes+1, 40h
|
||||
mov Palettes+2, 40h
|
||||
|
@ -23252,7 +23252,7 @@ loc_168C9:
|
|||
; ---------------------------------------------------------------------------
|
||||
|
||||
loc_168F6:
|
||||
sub word_26720, 4B0h
|
||||
sub _boss_phase_end_hp, 1200
|
||||
|
||||
loc_168FC:
|
||||
mov word_2671A, 0
|
||||
|
@ -25251,7 +25251,7 @@ sub_179BC proc near
|
|||
idiv bx
|
||||
sub _boss_hp, ax
|
||||
mov ax, _boss_hp
|
||||
cmp ax, word_26720
|
||||
cmp ax, _boss_phase_end_hp
|
||||
jg short loc_179F0
|
||||
mov al, 1
|
||||
pop bp
|
||||
|
@ -26834,10 +26834,10 @@ arg_2 = word ptr 6
|
|||
mov word_2671A, 0
|
||||
mov byte_2671D, 0
|
||||
mov byte_2671F, 0
|
||||
mov ax, word_26720
|
||||
mov ax, _boss_phase_end_hp
|
||||
mov _boss_hp, ax
|
||||
mov ax, [bp+arg_0]
|
||||
mov word_26720, ax
|
||||
mov _boss_phase_end_hp, ax
|
||||
mov byte_259EE, 0
|
||||
pop bp
|
||||
retn 4
|
||||
|
@ -26919,7 +26919,7 @@ loc_1872F:
|
|||
mov fp_259E8, offset sub_180BB
|
||||
mov byte_259EF, 0
|
||||
mov _boss_hp, 9400
|
||||
mov word_26720, 0E74h
|
||||
mov _boss_phase_end_hp, 3700
|
||||
mov ax, word ptr dword_2670A
|
||||
mov word_259EA, ax
|
||||
mov ax, word ptr dword_2670A+2
|
||||
|
@ -28112,7 +28112,7 @@ loc_19178:
|
|||
cmp word_2671A, 0
|
||||
jnz short loc_191DC
|
||||
mov _boss_hp, 4800
|
||||
mov word_26720, 12C0h
|
||||
mov _boss_phase_end_hp, 4800
|
||||
mov Palettes, 60h
|
||||
mov Palettes+1, 0
|
||||
mov Palettes+2, 0
|
||||
|
@ -29142,7 +29142,7 @@ loc_19AC8:
|
|||
cmp word_2671A, 0
|
||||
jnz short loc_19AEF
|
||||
mov _boss_hp, 3050
|
||||
mov word_26720, 79Eh
|
||||
mov _boss_phase_end_hp, 1950
|
||||
mov Palettes, 0
|
||||
mov Palettes+1, 0
|
||||
mov Palettes+2, 60h
|
||||
|
@ -32338,10 +32338,10 @@ loc_1B43E:
|
|||
mov word_2671A, 0
|
||||
mov byte_2671F, 0
|
||||
mov byte_2671D, 0
|
||||
mov ax, word_26720
|
||||
mov ax, _boss_phase_end_hp
|
||||
mov _boss_hp, ax
|
||||
mov ax, [bp+arg_0]
|
||||
mov word_26720, ax
|
||||
mov _boss_phase_end_hp, ax
|
||||
mov word_25A0A, 0
|
||||
mov byte_26718, 80h
|
||||
mov word_25A0A, 0
|
||||
|
@ -32400,7 +32400,7 @@ loc_1B4EB:
|
|||
mov byte_2671F, 0
|
||||
mov byte_2671D, 0
|
||||
mov _boss_hp, 13300
|
||||
mov word_26720, 2968h
|
||||
mov _boss_phase_end_hp, 10600
|
||||
mov word_2671A, 0
|
||||
mov word_25A0A, 0
|
||||
mov byte_25A06, 1
|
||||
|
@ -32654,7 +32654,7 @@ loc_1B744:
|
|||
|
||||
loc_1B748:
|
||||
mov ax, _boss_hp
|
||||
cmp ax, word_26720
|
||||
cmp ax, _boss_phase_end_hp
|
||||
jg loc_1B8EA
|
||||
push 14h
|
||||
call sub_19FD8
|
||||
|
@ -33994,7 +33994,7 @@ loc_1C301:
|
|||
mov Palettes+2, 80h
|
||||
mov byte_266D3, 1
|
||||
mov _boss_hp, 6000
|
||||
mov word_26720, 1770h
|
||||
mov _boss_phase_end_hp, 6000
|
||||
jmp loc_1C67A
|
||||
; ---------------------------------------------------------------------------
|
||||
|
||||
|
@ -38143,7 +38143,7 @@ sub_1E64E proc near
|
|||
mov ah, 0
|
||||
sub _boss_hp, ax
|
||||
mov ax, _boss_hp
|
||||
cmp ax, word_26720
|
||||
cmp ax, _boss_phase_end_hp
|
||||
jg short loc_1E678
|
||||
mov al, 1
|
||||
pop bp
|
||||
|
@ -38271,10 +38271,10 @@ loc_1E719:
|
|||
mov word_2671A, 0
|
||||
mov byte_2671D, 0
|
||||
mov byte_2671F, 0
|
||||
mov ax, word_26720
|
||||
mov ax, _boss_phase_end_hp
|
||||
mov _boss_hp, ax
|
||||
mov ax, [bp+arg_0]
|
||||
mov word_26720, ax
|
||||
mov _boss_phase_end_hp, ax
|
||||
pop si
|
||||
pop bp
|
||||
retn 4
|
||||
|
@ -39735,7 +39735,7 @@ loc_1F421:
|
|||
cmp word_2671A, 80h
|
||||
jl loc_1F8A5
|
||||
mov word_26712, 0
|
||||
mov word_26720, 238Ch
|
||||
mov _boss_phase_end_hp, 9100
|
||||
push 0FFFF1EDCh
|
||||
call sub_1E6F3
|
||||
jmp loc_1F8A5
|
||||
|
@ -41465,7 +41465,7 @@ loc_202B0:
|
|||
mov _boss_hp, 18700
|
||||
cmp word_2671A, 80h
|
||||
jle loc_206B6
|
||||
mov word_26720, 396Ch
|
||||
mov _boss_phase_end_hp, 14700
|
||||
inc byte_26719
|
||||
mov word_2671A, 0
|
||||
call snd_se_play pascal, 13
|
||||
|
@ -46922,7 +46922,7 @@ byte_2671C db ?
|
|||
byte_2671D db ?
|
||||
byte_2671E db ?
|
||||
byte_2671F db ?
|
||||
word_26720 dw ?
|
||||
_boss_phase_end_hp dw ?
|
||||
dd ? ;
|
||||
dd ? ;
|
||||
dd ? ;
|
||||
|
|
|
@ -27406,7 +27406,7 @@ loc_186EF:
|
|||
cmp boss_phase_frame, 1
|
||||
jnz short loc_18702
|
||||
mov _boss_hp, 4650
|
||||
mov word_2634C, 9F6h
|
||||
mov _boss_phase_end_hp, 2550
|
||||
|
||||
loc_18702:
|
||||
call sub_1FB07
|
||||
|
@ -28500,7 +28500,7 @@ loc_19073:
|
|||
cmp boss_phase_frame, 1
|
||||
jnz short loc_19097
|
||||
mov _boss_hp, 4400
|
||||
mov word_2634C, 0BB8h
|
||||
mov _boss_phase_end_hp, 3000
|
||||
mov word_2A72A, 400h
|
||||
mov byte_2A72F, 2
|
||||
mov word_2A72C, 8
|
||||
|
@ -30335,7 +30335,7 @@ loc_1A089:
|
|||
cmp boss_phase_frame, 1
|
||||
jnz short loc_1A0AD
|
||||
mov _boss_hp, 9600
|
||||
mov word_2634C, 1CE8h
|
||||
mov _boss_phase_end_hp, 7400
|
||||
mov word_2A72A, 400h
|
||||
mov byte_2A72F, 2
|
||||
mov word_2A72C, 8
|
||||
|
@ -30462,16 +30462,16 @@ loc_1A208:
|
|||
mov boss_phase_frame, 0
|
||||
mov byte ptr word_2634A+1, 0
|
||||
mov byte_26349, 0
|
||||
mov ax, word_2634C
|
||||
mov ax, _boss_phase_end_hp
|
||||
mov _boss_hp, ax
|
||||
cmp boss_phase, 0Ch
|
||||
jnb short loc_1A236
|
||||
sub word_2634C, 898h
|
||||
sub _boss_phase_end_hp, 2200
|
||||
jmp short loc_1A23C
|
||||
; ---------------------------------------------------------------------------
|
||||
|
||||
loc_1A236:
|
||||
mov word_2634C, 0
|
||||
mov _boss_phase_end_hp, 0
|
||||
|
||||
loc_1A23C:
|
||||
mov word_2CE2E, 0
|
||||
|
@ -31690,7 +31690,7 @@ loc_1AC1C:
|
|||
cmp boss_phase_frame, 1 ; jumptable 0001AC18 case 0
|
||||
jnz short loc_1AC5E
|
||||
mov _boss_hp, 4500
|
||||
mov word_2634C, 0
|
||||
mov _boss_phase_end_hp, 0
|
||||
mov word_2635A, 1194h
|
||||
mov word_26364, 0
|
||||
mov word_2A72A, 400h
|
||||
|
@ -33265,7 +33265,7 @@ loc_1BA22:
|
|||
cmp boss_phase_frame, 1
|
||||
jnz short loc_1BA63
|
||||
mov _boss_hp, 7900
|
||||
mov word_2634C, 11F8h
|
||||
mov _boss_phase_end_hp, 4600
|
||||
mov word_2A72A, 400h
|
||||
mov byte_2A72F, 2
|
||||
mov word_2A72C, 8
|
||||
|
@ -34478,7 +34478,7 @@ loc_1C54D:
|
|||
cmp boss_phase_frame, 1
|
||||
jnz short loc_1C58E
|
||||
mov _boss_hp, 7800
|
||||
mov word_2634C, 16A8h
|
||||
mov _boss_phase_end_hp, 5800
|
||||
mov word_2A72A, 400h
|
||||
mov byte_2A72F, 2
|
||||
mov word_2A72C, 8
|
||||
|
@ -35282,8 +35282,8 @@ loc_1CC3E:
|
|||
|
||||
loc_1CC7F:
|
||||
mov ax, _boss_hp
|
||||
sub ax, word_2634C
|
||||
cmp ax, 258h
|
||||
sub ax, _boss_phase_end_hp
|
||||
cmp ax, 600
|
||||
jge short loc_1CCD0
|
||||
cmp byte_2D083, 0
|
||||
jnz short loc_1CCD0
|
||||
|
@ -35625,8 +35625,8 @@ loc_1D02B:
|
|||
|
||||
loc_1D030:
|
||||
mov ax, _boss_hp
|
||||
sub ax, word_2634C
|
||||
cmp ax, 1F4h
|
||||
sub ax, _boss_phase_end_hp
|
||||
cmp ax, 500
|
||||
jge short loc_1D081
|
||||
cmp byte_2D083, 0
|
||||
jnz short loc_1D081
|
||||
|
@ -35861,7 +35861,7 @@ loc_1D29C:
|
|||
cmp boss_phase_frame, 1
|
||||
jnz short loc_1D2EF
|
||||
mov _boss_hp, 8300
|
||||
mov word_2634C, 1D4Ch
|
||||
mov _boss_phase_end_hp, 7500
|
||||
mov word_2A72A, 400h
|
||||
mov byte_2A72F, 2
|
||||
mov word_2A72C, 8
|
||||
|
@ -37481,7 +37481,7 @@ loc_1E1CD:
|
|||
cmp boss_phase_frame, 1
|
||||
jnz short loc_1E220
|
||||
mov _boss_hp, 22800
|
||||
mov word_2634C, 5078h
|
||||
mov _boss_phase_end_hp, 20600
|
||||
mov word_2A72A, 400h
|
||||
mov byte_2A72F, 2
|
||||
mov word_2A72C, 8
|
||||
|
@ -39407,10 +39407,10 @@ loc_1F25F:
|
|||
mov boss_phase_frame, 0
|
||||
mov byte_26349, 0
|
||||
mov byte ptr word_2634A+1, 0
|
||||
mov ax, word_2634C
|
||||
mov ax, _boss_phase_end_hp
|
||||
mov _boss_hp, ax
|
||||
mov ax, [bp+arg_0]
|
||||
mov word_2634C, ax
|
||||
mov _boss_phase_end_hp, ax
|
||||
pop si
|
||||
pop bp
|
||||
retn 4
|
||||
|
@ -39449,7 +39449,7 @@ loc_1F2C9:
|
|||
cmp boss_phase_frame, 1
|
||||
jnz short loc_1F333
|
||||
mov _boss_hp, 26500
|
||||
mov word_2634C, 5CF8h
|
||||
mov _boss_phase_end_hp, 23800
|
||||
mov word_2A72A, 800h
|
||||
mov byte_2A72F, 2
|
||||
mov word_2A72C, 8
|
||||
|
@ -40414,7 +40414,7 @@ sub_1FADD proc near
|
|||
mov ah, 0
|
||||
sub _boss_hp, ax
|
||||
mov ax, _boss_hp
|
||||
cmp ax, word_2634C
|
||||
cmp ax, _boss_phase_end_hp
|
||||
jg short loc_1FB03
|
||||
mov al, 1
|
||||
pop bp
|
||||
|
@ -40534,10 +40534,10 @@ loc_1FB94:
|
|||
mov boss_phase_frame, 0
|
||||
mov byte_26349, 0
|
||||
mov byte ptr word_2634A+1, 0
|
||||
mov ax, word_2634C
|
||||
mov ax, _boss_phase_end_hp
|
||||
mov _boss_hp, ax
|
||||
mov ax, [bp+arg_0]
|
||||
mov word_2634C, ax
|
||||
mov _boss_phase_end_hp, ax
|
||||
pop si
|
||||
pop bp
|
||||
retn 4
|
||||
|
@ -46184,7 +46184,7 @@ boss_phase_frame dw ?
|
|||
byte_26348 db ?
|
||||
byte_26349 db ?
|
||||
word_2634A dw ?
|
||||
word_2634C dw ?
|
||||
_boss_phase_end_hp dw ?
|
||||
dword_2634E dd ?
|
||||
word_26352 dw ?
|
||||
word_26354 dw ?
|
||||
|
|
Loading…
Reference in New Issue