Browse Source

comment on dexdetail_scroll_update

SBird1337 6 years ago
parent
commit
b3298ba295
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/pokedex/pokedex_detail.c

+ 1
- 0
src/pokedex/pokedex_detail.c View File

272
 }
272
 }
273
 
273
 
274
 void dexdetail_scroll_update(void) {
274
 void dexdetail_scroll_update(void) {
275
+    /* base of -24576 + (scroll_amount * pixel_length * 14 pixels) */
275
     bgid_mod_y_offset(1, -24576 + (pokedex_context->detail_scroll_amount * 256 * 14), 0);
276
     bgid_mod_y_offset(1, -24576 + (pokedex_context->detail_scroll_amount * 256 * 14), 0);
276
 }
277
 }
277
 
278