Esempio n. 1
0
void Game_Vehicle::GetOn() {
	if (type == Airship) {
		data()->remaining_ascent = SCREEN_TILE_SIZE;
		SetFlying(true);
		Main_Data::game_player->SetFlying(true);
	}
	Game_System::BgmPlay(GetBGM());
}
void Game_Vehicle::GetOn() {
	driving = true;
	if (type == Airship) {
		SetLayer(RPG::EventPage::Layers_above);
		data.remaining_ascent = SCREEN_TILE_WIDTH;
		data.flying = true;
	} else {
		walk_animation = true;
	}
	Game_System::BgmPlay(GetBGM());
}