From 49133210ec741e25c1fec3dbd6488d04d8444af3 Mon Sep 17 00:00:00 2001 From: Vin Bertinelli Date: Fri, 11 Jan 2019 21:00:46 -0500 Subject: [PATCH] egg - adjust raycast width egg - adjust raycast width to be wide enough to avoid spawning over randall --- ASM/Custom Events/Custom Event Code.asm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ASM/Custom Events/Custom Event Code.asm b/ASM/Custom Events/Custom Event Code.asm index 49f81f58..4247a6f6 100644 --- a/ASM/Custom Events/Custom Event Code.asm +++ b/ASM/Custom Events/Custom Event Code.asm @@ -1307,6 +1307,7 @@ b exit bl RandFloat fmr f22,f1 + .set EggSpawnGroundWidth,8 #Check If Egg is Above Ground fmr f1,f21 fmr f2,f22 @@ -1314,7 +1315,7 @@ b exit cmpwi r3,0x0 beq EggsThinkSpawnLoop #Check Left - li r3,2 + li r3,EggSpawnGroundWidth bl IntToFloat fsubs f1,f21,f1 fmr f2,f22 @@ -1322,7 +1323,7 @@ b exit cmpwi r3,0x0 beq EggsThinkSpawnLoop #Check Right - li r3,2 + li r3,EggSpawnGroundWidth bl IntToFloat fadds f1,f21,f1 fmr f2,f22