Decompile aiDamagePlayer

This commit is contained in:
Ryan Dwyer
2020-05-11 20:20:04 +10:00
parent 65176271d0
commit e7d3399ade
10 changed files with 933 additions and 1010 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)