|
@@ -127,7 +127,7 @@ if $ARGS[0] = 'start':
|
|
'You spend a few minutes thinking about places and people that might make for interesting subjects. Perhaps...'
|
|
'You spend a few minutes thinking about places and people that might make for interesting subjects. Perhaps...'
|
|
*nl
|
|
*nl
|
|
! Get the number of locations in the array
|
|
! Get the number of locations in the array
|
|
- location_count = ARRSIZE('$camera_locations')
|
|
|
|
|
|
+ location_count = arrsize('$camera_locations')
|
|
iterator = 0
|
|
iterator = 0
|
|
! For every location
|
|
! For every location
|
|
if location_count > 0:
|
|
if location_count > 0:
|
|
@@ -140,7 +140,7 @@ if $ARGS[0] = 'start':
|
|
if iterator < location_count: jump 'location_loop'
|
|
if iterator < location_count: jump 'location_loop'
|
|
end
|
|
end
|
|
*nl
|
|
*nl
|
|
- people_count = ARRSIZE('$camera_people')
|
|
|
|
|
|
+ people_count = arrsize('$camera_people')
|
|
iterator = 0
|
|
iterator = 0
|
|
! For every person in the array
|
|
! For every person in the array
|
|
if people_count > 0:
|
|
if people_count > 0:
|
|
@@ -158,7 +158,7 @@ end
|
|
|
|
|
|
if $ARGS[0] = 'check_location':
|
|
if $ARGS[0] = 'check_location':
|
|
! If the player has a camera and this location exists in the array
|
|
! If the player has a camera and this location exists in the array
|
|
- if photographyEv >= 2 and arrpos('$camera_locations', $loc) >= 0:
|
|
|
|
|
|
+ if photographyEv >= 2 and $camera_locations[$loc] ! '':
|
|
! Assign the variables
|
|
! Assign the variables
|
|
dynamic $camera_locations[$loc]
|
|
dynamic $camera_locations[$loc]
|
|
! If they have not already photographed the location
|
|
! If they have not already photographed the location
|
|
@@ -181,7 +181,7 @@ end
|
|
|
|
|
|
if $ARGS[0] = 'check_person':
|
|
if $ARGS[0] = 'check_person':
|
|
! If the player has a camera and this person exists in the array
|
|
! If the player has a camera and this person exists in the array
|
|
- if photographyEv >= 2 and arrpos('$camera_people', $ARGS[1]) >= 0:
|
|
|
|
|
|
+ if photographyEv >= 2 and $camera_people[$ARGS[1]] ! '':
|
|
! Assign the variables
|
|
! Assign the variables
|
|
dynamic $camera_people[$ARGS[1]]
|
|
dynamic $camera_people[$ARGS[1]]
|
|
! If they have not already photographed the person
|
|
! If they have not already photographed the person
|