Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2015-11-11 23:28:31

Fotomac
Member
Registered: 2015-10-25
Post 68/297

Mew glitch homage

Basically, after you beat the Swimmer in Cerulean Gym, after a set number of steps, you'll have a random wild encounter with Mew, and unless you're in a house, a Pokémon Center, or a Poké Mart, the whole map becomes like a less strong version of the Cave Tile Effect, i.e. every step has a chance of summoning wild Pokemon, only the appearances will be far less frequent and every wild encounter not in tall grass or water or cave will be a Lv. 5 Mew, which will not stop bothering you even if you defeat it in combat until you capture it successfully.

Or would there be a better way to go about this Mew glitch homage? (Do keep in mind that you can do the Mew glitch as it's traditionally performed as early as Cerulean City in the actual games.)

Offline

#2 2015-11-22 16:32:13

Crystal_
Member
From: Spain
Registered: 2012-09-16
Post 348/430
Website

Re: Mew glitch homage

- Assign grass wild Pokemon data to Cerulean City filling it with lv 5 Mews and using a low encounter chance value.
Wild data pointers: https://github.com/pret/pokered/blob/ma … d_mons.asm
Wild data example: https://github.com/pret/pokered/blob/ma … nsion1.asm

- Modify the wild encounter function so that if the swimmer's beaten flag is set, the check that makes sure that you're in a grass tile is skipped if you are in the Cerulean City map. This way, wild encounters can be triggered regardless of the tile you're in. In other words add Cerulean City to this check testing the swimmer's flag first: https://github.com/pret/pokered/blob/ma … rs.asm#L38

Cerulean City being whichever map(s) you want.

Last edited by Crystal_ (2015-11-22 16:33:14)

Offline

#3 2016-01-04 23:25:04

Fotomac
Member
Registered: 2015-10-25
Post 130/297

Re: Mew glitch homage

I'm gonna try to do this for Beta 2 of my hack. Just one thing: what's the Swimmer's beaten flag?

Offline

#4 2016-03-03 11:19:39

lusentoj
Member
From: Sweden
Registered: 2016-02-29
Post 6/31

Re: Mew glitch homage

Oh, sounds interesting! I wanted to make all the pokemon catchable in my game, so maybe I should do this too.

Offline

#5 2016-03-03 17:09:51

Fotomac
Member
Registered: 2015-10-25
Post 172/297

Re: Mew glitch homage

Bad news: the Mew glitch homage in my hack has been indefinitely delayed. I still don't understand how to add a check for the beaten trainer flag to a wild encounter function, or else I'd forgotten how. If I can only remember, it might make it into Beta 3.

Offline

#6 2016-03-03 23:32:10

Crystal_
Member
From: Spain
Registered: 2012-09-16
Post 368/430
Website

Re: Mew glitch homage

Add this between line 40 and 41 of https://github.com/pret/pokered/blob/5f … unters.asm

ld a, [wCurMap]
cp CERULEAN_CITY
jr nz, .nope
CheckEvent EVENT_BEAT_CERULEAN_GYM_TRAINER_0
jr nz, .CanEncounter
.nope

Add wild pokemon data to cerulean city editing data/wild_mons.asm replacing this:

dw NoMons      ; CERULEAN_CITY

with this:


dw CeruleanCityMons      ; CERULEAN_CITY

and then add a ceruleancity.asm file to data/wildPokemon with the following:

CeruleanCityMons:
    db $01
    IF DEF(_RED)
        db 7,MEW
        db 7,MEW
        db 7,MEW
        db 7,MEW
        db 7,MEW
        db 7,MEW
        db 7,MEW
        db 7,MEW
        db 7,MEW
        db 7,MEW
    ENDC
    IF DEF(_BLUE)
        db 7,MEW
        db 7,MEW
        db 7,MEW
        db 7,MEW
        db 7,MEW
        db 7,MEW
        db 7,MEW
        db 7,MEW
        db 7,MEW
        db 7,MEW
    ENDC
    db $00

Include it in data/wildmons.asm

INCLUDE "data/wildPokemon/ceruleancity.asm"

Last edited by Crystal_ (2016-03-03 23:34:44)

Offline

Board footer

Powered by FluxBB