mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-11-21 22:32:53 +00:00
adds death counter to credits, initializes hp counter at spawn
This commit is contained in:
parent
b8628a7a2c
commit
e5ef1c7924
BIN
pre-edited-cs/bad.dat
Normal file
BIN
pre-edited-cs/bad.dat
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
|
@ -530,10 +530,11 @@ function worldGraph:Arthur() return self.spawn == "Arthur's House" end
|
|||
function worldGraph:Camp() return self.spawn == "Camp" end
|
||||
|
||||
function worldGraph:getSpawnScript()
|
||||
if self:StartPoint() then return "<FL+6200<EVE0091" end
|
||||
local initialHPCounter = "<FL+4011<FL+4012" -- initializes the HP counter to 3 HP
|
||||
if self:StartPoint() then return initialHPCounter .. "<FL+6200<EVE0091" end
|
||||
local earlyGameFlags = "<FL+0301<FL+0302<FL+1641<FL+1642<FL+0320<FL+0321"
|
||||
if self:Arthur() then return "<FL+6201" .. earlyGameFlags .. "<TRA0001:0094:0008:0004" end
|
||||
if self:Camp() then return "<FL+6202" .. earlyGameFlags .. "<TRA0040:0094:0014:0009" end
|
||||
if self:Arthur() then return initialHPCounter .. "<FL+6201" .. earlyGameFlags .. "<TRA0001:0094:0008:0004" end
|
||||
if self:Camp() then return initialHPCounter .. "<FL+6202" .. earlyGameFlags .. "<TRA0040:0094:0014:0009" end
|
||||
end
|
||||
|
||||
function worldGraph:getLocations()
|
||||
|
|
Loading…
Reference in a new issue