forked from Ports/perfect_dark
Decompile aiDamagePlayer
This commit is contained in:
1 parent
65176271d0
commit
e7d3399ade
10 files changed
+933
-1010
No files matched your search
@@ -2784,7 +2784,7 @@ u8 func0415_radioactivity[] = {
|
||||
add_motion_blur(CHR_TARGET, 10, TRUE)
|
||||
if_timer_lt(300, /*goto*/ 0x2f)
|
||||
restart_timer
|
||||
damage_chr2(CHR_TARGET, 1024)
|
||||
damage_player(CHR_TARGET, 4, 0)
|
||||
label(0x2f)
|
||||
if_chr_in_room(CHR_TARGET, 0x00, 0x0014, /*goto*/ 0x06)
|
||||
if_chr_in_room(CHR_TARGET, 0x00, 0x0015, /*goto*/ 0x06)
|
||||
|
||||
@@ -660,7 +660,7 @@ u8 func0401_gas_damage[] = {
|
||||
label(0x32)
|
||||
if_timer_lt(460, /*goto*/ 0x32)
|
||||
restart_timer
|
||||
damage_chr2(CHR_TARGET, 514)
|
||||
damage_player(CHR_TARGET, 2, 2)
|
||||
label(0x32)
|
||||
if_chr_in_room(CHR_TARGET, 0x00, 0x009a, /*goto*/ 0x06)
|
||||
if_chr_in_room(CHR_TARGET, 0x00, 0x0099, /*goto*/ 0x06)
|
||||
|
||||
Reference in new issue
Block a user