File tree Expand file tree Collapse file tree 1 file changed +10
-18
lines changed
Expand file tree Collapse file tree 1 file changed +10
-18
lines changed Original file line number Diff line number Diff line change @@ -41,26 +41,18 @@ mappings([
4141 const quantity = read ( dc . w ) ;
4242 read ( dc . w ) ;
4343 read ( dc . w ) ;
44- // console.log(1);
45- // console.log(quantity);
4644 return quantity > 0 && ( ( { mapping } , i ) => {
47- mapping . art = read ( dc . b ) ;
48- mapping . left = read ( dc . b ) ;
49- mapping . top = read ( dc . b ) ;
5045 read ( dc . b ) ;
51- read ( dc . b ) ;
52- read ( dc . b ) ;
53-
54-
55- // mapping.top = read(dc.b, signed);
56- // read(nybble);
57- // mapping.width = read(2) + 1;
58- // mapping.height = read(2) + 1;
59- // mapping.priority = read(1);
60- // mapping.palette = read(2);
61- // mapping.vflip = read(1);
62- // mapping.hflip = read(1);
63- // mapping.left = read(dc.b, signed);
46+ mapping . left = read ( dc . b , signed ) ;
47+ mapping . top = read ( dc . b , signed ) ;
48+ read ( nybble ) ;
49+ mapping . width = read ( 2 ) + 1 ;
50+ mapping . height = read ( 2 ) + 1
51+ mapping . art = read ( dc . w ) ;
52+ mapping . priority = false ;
53+ mapping . vflip = false ;
54+ mapping . hflip = false ;
55+ mapping . palette = 0 ;
6456 if ( i === quantity ) return endFrame ;
6557 } ) ;
6658 } ,
You can’t perform that action at this time.
0 commit comments