다마고치 변경할 때 본체 색상도 선택하도록 추가
This commit is contained in:
1 parent
fda254aa35
commit
63fe0c8d41
35 files changed
+421
-188
No files matched your search
@@ -57,6 +57,10 @@ const root=require('path').resolve(__dirname,'..');
|
||||
assert.equal(S.paraPet({pages:S.paraFromImage(state.ctx.rom,state.ctx.editionId)},state.ctx.editionId).id,4062);
|
||||
assert.deepEqual(Buffer.from(state.ctx.rom.subarray(0xdee000,0xdee000+expected.length)),Buffer.from(expected),'Browser did not apply complete appearance: '+lang);
|
||||
d.getElementById('btnPetSave').click();assert.deepEqual(Buffer.from(state.ctx.rom.subarray(0xdee000,0xdee000+expected.length)),Buffer.from(expected),'Same-character repair failed: '+lang);
|
||||
const color=d.getElementById('petColor');assert.equal(color.options.length,17);color.value='7';color.dispatchEvent(new w.Event('change'));d.getElementById('btnPetSave').click();
|
||||
const yellow=C.characterGhost(state.ctx.rom,4062,state.ctx,null,7);assert.deepEqual(Buffer.from(state.ctx.rom.subarray(0xdee000,0xdee000+yellow.length)),Buffer.from(yellow),'Selected color missing: '+lang);
|
||||
select.value='';color.value='0';color.dispatchEvent(new w.Event('change'));d.getElementById('btnPetSave').click();assert.equal(S.paraPet({pages:S.paraFromImage(state.ctx.rom,state.ctx.editionId)},state.ctx.editionId).color,0);
|
||||
assert.deepEqual(Buffer.from(state.ctx.rom.subarray(0xdee600,0xdee000+yellow.length)),Buffer.from(yellow.subarray(0x600)),'Color-only edit changed inherited eyes');
|
||||
}
|
||||
assert.deepEqual(errors,[]);w.close();
|
||||
console.log('PASS: KO/EN/DE ROM builds, menu rebuilds, native character appearance and same-ID repair through the browser save button, German names, late API response and source preservation; no device write');
|
||||
|
||||
Reference in new issue
Block a user