Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2022-02-11 00:24:47

YeOldeLoremonger
New member
Registered: 2022-02-11
Post 1/1

Moving Snorlaxes in pokered disassembly

I did it in the maps, but I know these scripts need sorted out. I get the impression that simply copying and pasting won't quite do it. Any help, tutorials, links, videos, or references?

If I copy the following from Route12 to the new Route and adjust 'Route12Script0' to 'Route#Script0' with matching route number and no overlapping 'Script#' is that sufficient?

Route12Script0:
CheckEventHL EVENT_BEAT_ROUTE12_SNORLAX
jp nz, CheckFightingMapTrainers
CheckEventReuseHL EVENT_FIGHT_ROUTE12_SNORLAX
ResetEventReuseHL EVENT_FIGHT_ROUTE12_SNORLAX
jp z, CheckFightingMapTrainers
ld a, $d
ldh [hSpriteIndexOrTextID], a
call DisplayTextID
ld a, SNORLAX
ld [wCurOpponent], a
ld a, 30
ld [wCurEnemyLVL], a
ld a, HS_ROUTE_12_SNORLAX
ld [wMissableObjectIndex], a
predef HideObject
ld a, $3
ld [wRoute12CurScript], a
ld [wCurMapScript], a
ret

Then adjust the ScriptPointers accordingly?

Last edited by YeOldeLoremonger (2022-02-11 00:35:55)

Offline

Board footer

Powered by FluxBB