I think I made a mistake in stage 3. Attempting to paste in the platformer version of the TAS to it however desyncs it at this spot:
This causes a jump to miss shortly afterwards.
Attempting to just go ahead regardless by adding frames made it 4 frames slower than platformer version, and the boss then desyncs. Even then, that's assuming the last 2 stages don't mess with me (either). To assist myself in it, I resynced the platform tas to 2.3:
https://cdn.discordapp.com/attachments/280806848909541376/714704090982121532/Bishoujo_Senshi_Sailormoon_R_Japan_Platformer.bk2
And also found, and added dialogue related addresses since those keep giving me trouble.
Download sailormoon.luaLanguage: lua
memory.usememorydomain("System Bus")
--C020
local address = {
x = 0xC020,
y = 0xC023,
x_speed = 0xC028,
hp = 0xC05B, --mirrored at E05B, intervals of 16
npc1_x = 0xC120, --girl uses this
boss_timer = 0xC157, --boss invulnerability timer
boss_hp = 0xC15B,
follower = 0xC24C, --flag for someone following?
npc2_x = 0xC320,
is_dialogue = 0xD102, --0xFF if dialogue?
sprite_visible = 0xD112, --it's 30 during dialogue?
story_progress = 0xD401, --Can start platformer at 6; mirrored at 0xF401
text_ended = 0xD481, --Ends dialogue at 0xFF
text_progress = 0xD488,
text_char = 0xD491, --current char?
text_speed = 0xD492,
character_id = 0xDE80, --1 = Sailor moon
map_toggle = 0xDE83
}
local stringformat = string.format
while true do
local x = memory.read_u24_le(address.x)
local y = memory.read_u24_le(address.y)
local hp = memory.readbyte(address.hp)/16
local x_speed = memory.read_u16_le(address.x_speed)
local girl = memory.read_u32_le(address.npc1_x)
local cat = memory.read_u32_le(address.npc2_x)
local text_char = memory.readbyte(address.text_char)
local text_progress = memory.readbyte(address.text_progress)
local text_ended = memory.readbyte(address.text_ended)
local boss_timer = memory.readbyte(address.boss_timer)
local boss_hp = memory.readbyte(address.boss_hp)/16
local is_dialogue = memory.readbyte(address.is_dialogue)
if (is_dialogue == 0xFF) then
gui.text(0,75, "C:"..text_char .. " P:" .. text_progress)
gui.text(0,90, text_ended)
else
gui.text(0,90, "Me "..stringformat('%.6f',x/65536.0).."("..stringformat('%.6f',y/65536.0)..")")
gui.text(0,105, "Spd "..x_speed)
gui.text(0,120, "C "..stringformat('%.6f',cat/65536.0))
gui.text(0,135, "G "..stringformat('%.6f',girl/65536.0))
gui.text(0,150, "B "..boss_hp.."("..boss_timer..")")
end
gui.text(0,60, "HP:" .. hp) --Need to show this in dialogue to see difficulty
gui.text(0,165,emu.totalexecutedcycles())
emu.frameadvance()
end
Sorry for the delay; something non-TAS related came up.