Explorar o código

[fixed] Fixed so calling famiy_schedule again after Anya's random location had been determined will not make her location anyaloc = 0.

bgkjdgbizgblzdgbr %!s(int64=2) %!d(string=hai) anos
pai
achega
dc0b2a9c72
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      locations/family_schedule.qsrc

+ 6 - 0
locations/family_schedule.qsrc

@@ -71,6 +71,9 @@ if sister_indorf = 0:
 				if anyaloc['rand1'] ! daystart:
 					anyaloc = func('shortgs', 'rand_pick', '', 10, 15)
 					anyaloc['rand1'] = daystart
+					anyaloc['save2'] = anyaloc
+				else
+					anyaloc = anyaloc['save2']
 				end
 				if anyaloc = 15:
 					anyaloc['athome'] = 1
@@ -103,6 +106,9 @@ if sister_indorf = 0:
 				if anyaloc['rand2'] ! daystart:
 					anyaloc = func('shortgs', 'rand_pick', '', 13, 14, 15)
 					anyaloc['rand2'] = daystart
+					anyaloc['save2'] = anyaloc
+				else
+					anyaloc = anyaloc['save2']
 				end
 				if anyaloc = 15:
 					anyaloc['athome'] = 1