MCPcopy Create free account
hub / github.com/EasyRPG/Player / GetDisplayY

Method GetDisplayY

src/game_map.cpp:1715–1717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1713}
1714
1715int Game_Map::GetDisplayY() {
1716 return map_info.position_y + Main_Data::game_screen->GetShakeOffsetY() * 16;
1717}
1718
1719void Game_Map::SetPositionY(int y, bool reset_panorama) {
1720 const int map_height = GetTilesY() * SCREEN_TILE_SIZE;

Callers 12

CreateSpriteMethod · 0.45
DrawMethod · 0.45
CreateSpriteMethod · 0.45
DrawMethod · 0.45
DrawMethod · 0.45
CreateSpriteMethod · 0.45
UpdatePositionMethod · 0.45
ApplySpEffectMethod · 0.45
ApplyAtkEffectMethod · 0.45
ApplyDefEffectMethod · 0.45
ApplySpiEffectMethod · 0.45
ApplyAgiEffectMethod · 0.45

Calls 1

GetShakeOffsetYMethod · 0.80

Tested by

no test coverage detected